From 224ce6b63c429f150b56117d02fab6cc283171e1 Mon Sep 17 00:00:00 2001 From: Ryan Arpe Date: Mon, 21 Jun 2021 22:41:41 +0100 Subject: [PATCH] Add files via upload --- README.md | 2 + dist/count-btn.es.js | 1 + dist/count-btn.umd.js | 1 + dist/favicon.ico | Bin 0 -> 1150 bytes index.html | 13 +++ jsconfig.json | 34 ++++++ package-lock.json | 228 +++++++++++++++++++++++++++++++++++++++++ package.json | 19 ++++ public/favicon.ico | Bin 0 -> 1150 bytes src/App.svelte | 48 +++++++++ src/assets/svelte.png | Bin 0 -> 5185 bytes src/lib/Counter.svelte | 36 +++++++ src/main.js | 5 + src/vite-env.d.ts | 2 + svelte.config.js | 5 + vite.config.js | 28 +++++ 16 files changed, 422 insertions(+) create mode 100644 README.md create mode 100644 dist/count-btn.es.js create mode 100644 dist/count-btn.umd.js create mode 100644 dist/favicon.ico create mode 100644 index.html create mode 100644 jsconfig.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/favicon.ico create mode 100644 src/App.svelte create mode 100644 src/assets/svelte.png create mode 100644 src/lib/Counter.svelte create mode 100644 src/main.js create mode 100644 src/vite-env.d.ts create mode 100644 svelte.config.js create mode 100644 vite.config.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..4cd4b97 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# svelte-web-comp-vite + diff --git a/dist/count-btn.es.js b/dist/count-btn.es.js new file mode 100644 index 0000000..af9e372 --- /dev/null +++ b/dist/count-btn.es.js @@ -0,0 +1 @@ +function A(){}function t(A){return A()}function n(){return Object.create(null)}function e(A){A.forEach(t)}function f(A){return"function"==typeof A}function o(A,t){return A!=A?t==t:A!==t||A&&"object"==typeof A||"function"==typeof A}function g(A,t){A.appendChild(t)}function u(A,t,n){A.insertBefore(t,n||null)}function c(A){A.parentNode.removeChild(A)}function r(A){return document.createElement(A)}function s(A){return document.createTextNode(A)}function B(){return s(" ")}function D(A,t,n){null==n?A.removeAttribute(t):A.getAttribute(t)!==n&&A.setAttribute(t,n)}function i(A,t,n){t in A?A[t]="boolean"==typeof A[t]&&""===n||n:D(A,t,n)}function a(A){return Array.from(A.childNodes)}function P(A,t,n,e){for(let f=0;f{const e=n.length?n[0]:t;return P.ctx&&s(P.ctx[A],P.ctx[A]=e)&&(!P.skip_bound&&P.bound[A]&&P.bound[A](e),h&&N(o,A)),t})):[],P.update(),h=!0,e(P.before_update),P.fragment=!!r&&r(P.ctx),g.target){if(g.hydrate){const A=a(g.target);P.fragment&&P.fragment.l(A),A.forEach(c)}else P.fragment&&P.fragment.c();g.intro&&((w=o.$$.fragment)&&w.i&&(M.delete(w),w.i(l))),function(A,n,o,g){const{fragment:u,on_mount:c,on_destroy:r,after_update:s}=A.$$;u&&u.m(n,o),g||L((()=>{const n=c.map(t).filter(f);r?r.push(...n):e(n),A.$$.on_mount=[]})),s.forEach(L)}(o,g.target,g.anchor,g.customElement),O()}var w,l;H(i)}let E;"function"==typeof HTMLElement&&(E=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:A}=this.$$;this.$$.on_disconnect=A.map(t).filter(f);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(A,t,n){this[A]=n}disconnectedCallback(){e(this.$$.on_disconnect)}$destroy(){!function(A,t){const n=A.$$;null!==n.fragment&&(e(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=A}$on(A,t){const n=this.$$.callbacks[A]||(this.$$.callbacks[A]=[]);return n.push(t),()=>{const A=n.indexOf(t);-1!==A&&n.splice(A,1)}}$set(A){var t;this.$$set&&(t=A,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(A),this.$$.skip_bound=!1)}});function T(t){let n,e,f,o,B;return{c(){n=r("button"),e=s("Clicks: "),f=s(t[0]),this.c=A,this.h()},l(A){n=P(A,"BUTTON",{class:!0});var o=a(n);e=h(o,"Clicks: "),f=h(o,t[0]),o.forEach(c),this.h()},h(){D(n,"class","button")},m(A,c){var r,s,D,i;u(A,n,c),g(n,e),g(n,f),o||(r=n,s="click",D=t[1],r.addEventListener(s,D,i),B=()=>r.removeEventListener(s,D,i),o=!0)},p(A,[t]){var n,e;1&t&&(n=f,e=""+(e=A[0]),n.wholeText!==e&&(n.data=e))},i:A,o:A,d(A){A&&c(n),o=!1,B()}}}function J(A,t,n){let{count:e=0}=t;return A.$$set=A=>{"count"in A&&n(0,e=A.count)},[e,()=>{n(0,e=+e+1)}]}function U(t){let n,e,f,o,l,v,H,d;return{c(){n=r("main"),e=r("img"),o=B(),l=r("h1"),v=s("Hello world!"),H=B(),d=r("count-btn"),this.c=A,this.h()},l(A){n=P(A,"MAIN",{});var t=a(n);e=P(t,"IMG",{src:!0,alt:!0}),o=w(t),l=P(t,"H1",{});var f=a(l);v=h(f,"Hello world!"),f.forEach(c),H=w(t),d=P(t,"COUNT-BTN",{count:!0}),a(d).forEach(c),t.forEach(c),this.h()},h(){e.src!==(f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAY1BMVEX/////PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/ShD/ViD/YjD/bkD/e1D/h2D/k3D/n4D/q5D/t6D/w7D/z8D/29D/6OD/9PD////+4eKDAAAAEHRSTlMAECAwQFBgcICQoLDA0ODwVOCoyAAAE31JREFUeNrs2lfCpSAMQOGANJWS/W92+utU/ssNzvnWQMlBBQAAAAAAAAAAAAAAAAAA4P/hQgi5fHeWH2IIh+DRQixnrforvd4lBy/PgiOV2vUvtLtELw8An86q/2bUEp3sCz5dXSf1K3nBfly8un6QfiUn2IjPt36wlg/BFnxu+hL9PATGuVT1hVgDtoVLX65lL7DI5a5r3FFgjb+GrtOLFxgSqq52BYERqeo71CQwIHV9l54Ebxa7LsAS4O63twTgb13A6BKAO9WKFmQ1pKGGVC8rwVc15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owZpPxZgt/0QOu3HnSHL7Qe3G28/VOPthzx1SbPITSAM2+0H13Q1I8kNoRpvP8Sp6+hRYPg0UOUeUGg/Lgzbbj9U4+2H2I23H6rx9kNotB83B0y3H9xmvP3gG8980gO2P/aAPPQMDi92MYEWxSQmwJUfJjCynABy02doWU4CcTd+7oevQx9n7l7OBunQxxjFyRnBl/6AH3+U80LYht5Ry06sYgO9eFkCwu3PBcdaRx8u70NvZOzJyXrgbzCCsWcv64JLtU39m7Zx8K/Bp3p0/YXRag6Ca/Gx1KMN/UprW41RcGkhxlTfKDFG/ukBAAAAAAAAAAAAAAAAAADAjBeeQtAc4aIZhAAAAABJRU5ErkJggg=="),D(e,"alt","Svelte Logo"),i(d,"count",t[0])},m(A,t){u(A,n,t),g(n,e),g(n,o),g(n,l),g(l,v),g(n,H),g(n,d)},p(A,[t]){1&t&&i(d,"count",A[0])},i:A,o:A,d(A){A&&c(n)}}}function z(A,t,n){let{count:e=0}=t;return A.$$set=A=>{"count"in A&&n(0,e=A.count)},[e]}customElements.define("count-btn",class extends E{constructor(A){super(),this.shadowRoot.innerHTML="",G(this,{target:this.shadowRoot,props:l(this.attributes),customElement:!0},J,T,o,{count:0}),A&&(A.target&&u(A.target,this,A.anchor),A.props&&(this.$set(A.props),O()))}static get observedAttributes(){return["count"]}get count(){return this.$$.ctx[0]}set count(A){this.$set({count:A}),O()}});class j extends E{constructor(A){super(),this.shadowRoot.innerHTML='',G(this,{target:this.shadowRoot,props:l(this.attributes),customElement:!0},z,U,o,{count:0}),A&&(A.target&&u(A.target,this,A.anchor),A.props&&(this.$set(A.props),O()))}static get observedAttributes(){return["count"]}get count(){return this.$$.ctx[0]}set count(A){this.$set({count:A}),O()}}customElements.define("svelte-app",j);const V=new j;export default V; diff --git a/dist/count-btn.umd.js b/dist/count-btn.umd.js new file mode 100644 index 0000000..a4e99c0 --- /dev/null +++ b/dist/count-btn.umd.js @@ -0,0 +1 @@ +!function(A,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(A="undefined"!=typeof globalThis?globalThis:A||self).MyLib=t()}(this,(function(){"use strict";function A(){}function t(A){return A()}function n(){return Object.create(null)}function e(A){A.forEach(t)}function f(A){return"function"==typeof A}function o(A,t){return A!=A?t==t:A!==t||A&&"object"==typeof A||"function"==typeof A}function u(A,t){A.appendChild(t)}function g(A,t,n){A.insertBefore(t,n||null)}function c(A){A.parentNode.removeChild(A)}function r(A){return document.createElement(A)}function s(A){return document.createTextNode(A)}function i(){return s(" ")}function B(A,t,n){null==n?A.removeAttribute(t):A.getAttribute(t)!==n&&A.setAttribute(t,n)}function D(A,t,n){t in A?A[t]="boolean"==typeof A[t]&&""===n||n:B(A,t,n)}function a(A){return Array.from(A.childNodes)}function P(A,t,n,e){for(let f=0;f{const e=n.length?n[0]:t;return P.ctx&&s(P.ctx[A],P.ctx[A]=e)&&(!P.skip_bound&&P.bound[A]&&P.bound[A](e),h&&N(o,A)),t})):[],P.update(),h=!0,e(P.before_update),P.fragment=!!r&&r(P.ctx),u.target){if(u.hydrate){const A=a(u.target);P.fragment&&P.fragment.l(A),A.forEach(c)}else P.fragment&&P.fragment.c();u.intro&&((w=o.$$.fragment)&&w.i&&(M.delete(w),w.i(l))),function(A,n,o,u){const{fragment:g,on_mount:c,on_destroy:r,after_update:s}=A.$$;g&&g.m(n,o),u||I((()=>{const n=c.map(t).filter(f);r?r.push(...n):e(n),A.$$.on_mount=[]})),s.forEach(I)}(o,u.target,u.anchor,u.customElement),O()}var w,l;d(D)}let T;"function"==typeof HTMLElement&&(T=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:A}=this.$$;this.$$.on_disconnect=A.map(t).filter(f);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(A,t,n){this[A]=n}disconnectedCallback(){e(this.$$.on_disconnect)}$destroy(){!function(A,t){const n=A.$$;null!==n.fragment&&(e(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=A}$on(A,t){const n=this.$$.callbacks[A]||(this.$$.callbacks[A]=[]);return n.push(t),()=>{const A=n.indexOf(t);-1!==A&&n.splice(A,1)}}$set(A){var t;this.$$set&&(t=A,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(A),this.$$.skip_bound=!1)}});function E(t){let n,e,f,o,i;return{c(){n=r("button"),e=s("Clicks: "),f=s(t[0]),this.c=A,this.h()},l(A){n=P(A,"BUTTON",{class:!0});var o=a(n);e=h(o,"Clicks: "),f=h(o,t[0]),o.forEach(c),this.h()},h(){B(n,"class","button")},m(A,c){var r,s,B,D;g(A,n,c),u(n,e),u(n,f),o||(r=n,s="click",B=t[1],r.addEventListener(s,B,D),i=()=>r.removeEventListener(s,B,D),o=!0)},p(A,[t]){var n,e;1&t&&(n=f,e=""+(e=A[0]),n.wholeText!==e&&(n.data=e))},i:A,o:A,d(A){A&&c(n),o=!1,i()}}}function J(A,t,n){let{count:e=0}=t;return A.$$set=A=>{"count"in A&&n(0,e=A.count)},[e,()=>{n(0,e=+e+1)}]}function U(t){let n,e,f,o,l,v,d,H;return{c(){n=r("main"),e=r("img"),o=i(),l=r("h1"),v=s("Hello world!"),d=i(),H=r("count-btn"),this.c=A,this.h()},l(A){n=P(A,"MAIN",{});var t=a(n);e=P(t,"IMG",{src:!0,alt:!0}),o=w(t),l=P(t,"H1",{});var f=a(l);v=h(f,"Hello world!"),f.forEach(c),d=w(t),H=P(t,"COUNT-BTN",{count:!0}),a(H).forEach(c),t.forEach(c),this.h()},h(){e.src!==(f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAY1BMVEX/////PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/PgD/ShD/ViD/YjD/bkD/e1D/h2D/k3D/n4D/q5D/t6D/w7D/z8D/29D/6OD/9PD////+4e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kz942JduAgDG+mXHvBp1PxoTWD4Ehoql5VtNYPmNwNtK1P3icJeFaWAjmF9GonA9FMqxlKWpLLIMjK3gqPvhV8Ug6v69GJg6I5G4HIpfQF0QiIEp/B5jV8nyqPuBaQBA1Q1z+DWmvpXlUffDWwNQqtY6H37GPNpGYNT9AD5kZUzT2cG58Ce8c71tG8FR90M5SzSaf1BLMv63nfu6khAGoiDa8gJkOv9o93u9G4Pouinw5jCF+6j9sKkBX7Qfdr0+2u8Lruul0X4sYFb5AsLUk6D9WABf+WYBj//UExLtxwWhJfDINwug/VgA7ccCbt9+SJP2owZpPxZgt/0QOu3HnSHL7Qe3G28/VOPthzx1SbPITSAM2+0H13Q1I8kNoRpvP8Sp6+hRYPg0UOUeUGg/Lgzbbj9U4+2H2I23H6rx9kNotB83B0y3H9xmvP3gG8980gO2P/aAPPQMDi92MYEWxSQmwJUfJjCynABy02doWU4CcTd+7oevQx9n7l7OBunQxxjFyRnBl/6AH3+U80LYht5Ry06sYgO9eFkCwu3PBcdaRx8u70NvZOzJyXrgbzCCsWcv64JLtU39m7Zx8K/Bp3p0/YXRag6Ca/Gx1KMN/UprW41RcGkhxlTfKDFG/ukBAAAAAAAAAAAAAAAAAADAjBeeQtAc4aIZhAAAAABJRU5ErkJggg=="),B(e,"alt","Svelte Logo"),D(H,"count",t[0])},m(A,t){g(A,n,t),u(n,e),u(n,o),u(n,l),u(l,v),u(n,d),u(n,H)},p(A,[t]){1&t&&D(H,"count",A[0])},i:A,o:A,d(A){A&&c(n)}}}function z(A,t,n){let{count:e=0}=t;return A.$$set=A=>{"count"in A&&n(0,e=A.count)},[e]}customElements.define("count-btn",class extends T{constructor(A){super(),this.shadowRoot.innerHTML="",G(this,{target:this.shadowRoot,props:l(this.attributes),customElement:!0},J,E,o,{count:0}),A&&(A.target&&g(A.target,this,A.anchor),A.props&&(this.$set(A.props),O()))}static get observedAttributes(){return["count"]}get count(){return this.$$.ctx[0]}set count(A){this.$set({count:A}),O()}});class j extends T{constructor(A){super(),this.shadowRoot.innerHTML='',G(this,{target:this.shadowRoot,props:l(this.attributes),customElement:!0},z,U,o,{count:0}),A&&(A.target&&g(A.target,this,A.anchor),A.props&&(this.$set(A.props),O()))}static get observedAttributes(){return["count"]}get count(){return this.$$.ctx[0]}set count(A){this.$set({count:A}),O()}}customElements.define("svelte-app",j);return new j})); diff --git a/dist/favicon.ico b/dist/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d75d248ef0b15096a95054643a4d97f5d9b60846 GIT binary patch literal 1150 zcmaKqSxA*Z7>4KMS_;~x;8i!JU{-`tpyx!I(n2NFMU)w2L{WiMS3#Lcp@vrpA*5Yp zSy6|`AkYfDD(e{`n8yX0pLf20X1@3RmKkGw`Vte3=0)aUq%ldx zm^49K+Hw0b#^`KboP)QXJOwbuVUFxlAs{RfqJ+twGylWfOp{Hc$s#253LlN1nsFVc zKa>40?h5(7PTC6ltDx)(Y&Ze2xggCq(kK? zTA`;gAfKD!+uFjpxc_A3+Ma(L28W=z4Gvs@r*ECk`;c45=S#;=oA|abt`f&j5&uJO z3Dn+&^gZ%h4JidsaTR{{!_Y8PUx(-%PosPy2gi@qIvBMMYz;e3L1{f~mrd9RdB>pZ zD}4R|sk_C`;=cT&r)c=8u>7h9)u32*SbL`xiq3(pq5C^5-sSOw;<|fv@nfXfl&U`2 z81K5ExDp;bf#DISW%IY%k&2-noShOoz-;kb(u?5RFX-ro?87j3GZdCXrFc8bTx}jd zz_n@djWnxc*TbbCjEq80FPyG}1zQwvjq7R6ZSWuQ@_#A*LN5n<3$BI?X}q%iD!B-s zdSFcNp!EgpJr6CAK?klug4>=)Tv z+F#{yt>6EK)3NU=L&y_W3UNaC?Tg=6YE0)^V;(0Mb0$WJ7>7@Lg0~+3x9d)!Pd + + + + + + Svelte + Vite App + + +
+ + + diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..4258594 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,34 @@ +{ + "compilerOptions": { + "moduleResolution": "node", + "target": "esnext", + "module": "esnext", + /** + * svelte-preprocess cannot figure out whether you have + * a value or a type, so tell TypeScript to enforce using + * `import type` instead of `import` for Types. + */ + "importsNotUsedAsValues": "error", + "isolatedModules": true, + "resolveJsonModule": true, + /** + * To have warnings / errors of the Svelte compiler at the + * correct position, enable source maps by default. + */ + "sourceMap": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "baseUrl": ".", + /** + * Typecheck JS in `.svelte` and `.js` files by default. + * Disable this if you'd like to use dynamic types. + */ + "checkJs": true + }, + /** + * Use global.d.ts instead of compilerOptions.types + * to avoid limiting type declarations. + */ + "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"] +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..b3c77c6 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,228 @@ +{ + "version": "0.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@rollup/pluginutils": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.0.tgz", + "integrity": "sha512-TrBhfJkFxA+ER+ew2U2/fHbebhLT/l/2pRk0hfj9KusXUuRXd2v0R58AfaZK9VXDQ4TogOSEmICVrQAA3zFnHQ==", + "dev": true, + "requires": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + } + }, + "@sveltejs/vite-plugin-svelte": { + "version": "1.0.0-next.11", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.0-next.11.tgz", + "integrity": "sha512-EYR1I145k5rflVqhPwk3442m3bkYimTKSHM9uO5KdomXzt+GS9ZSBJQE3/wy1Di9V8OnGa3oKpckI3OZsHkTIA==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^4.1.0", + "chalk": "^4.1.1", + "debug": "^4.3.2", + "require-relative": "^0.8.7", + "svelte-hmr": "^0.14.4" + } + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "colorette": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", + "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", + "dev": true + }, + "debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "esbuild": { + "version": "0.12.9", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.9.tgz", + "integrity": "sha512-MWRhAbMOJ9RJygCrt778rz/qNYgA4ZVj6aXnNPxFjs7PmIpb0fuB9Gmg5uWrr6n++XKwwm/RmSz6RR5JL2Ocsw==", + "dev": true + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "is-core-module": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", + "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "nanoid": { + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", + "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true + }, + "postcss": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.5.tgz", + "integrity": "sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA==", + "dev": true, + "requires": { + "colorette": "^1.2.2", + "nanoid": "^3.1.23", + "source-map-js": "^0.6.2" + } + }, + "require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", + "dev": true + }, + "resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "dev": true, + "requires": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + } + }, + "rollup": { + "version": "2.52.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.52.2.tgz", + "integrity": "sha512-4RlFC3k2BIHlUsJ9mGd8OO+9Lm2eDF5P7+6DNQOp5sx+7N/1tFM01kELfbxlMX3MxT6owvLB1ln4S3QvvQlbUA==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "source-map-js": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", + "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "svelte": { + "version": "3.38.2", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.38.2.tgz", + "integrity": "sha512-q5Dq0/QHh4BLJyEVWGe7Cej5NWs040LWjMbicBGZ+3qpFWJ1YObRmUDZKbbovddLC9WW7THTj3kYbTOFmU9fbg==", + "dev": true + }, + "svelte-hmr": { + "version": "0.14.4", + "resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.14.4.tgz", + "integrity": "sha512-kItFF7vqzStckSigoFmMnxJpTOdB9TWnQAW6Js+yAB4277tLbJIIE5KBlGHNmJNpA7MguqidsPB27Uw5UzQPCA==", + "dev": true + }, + "vite": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-2.3.8.tgz", + "integrity": "sha512-QiEx+iqNnJntSgSF2fWRQvRey9pORIrtNJzNyBJXwc+BdzWs83FQolX84cTBo393cfhObrtWa6180dAa4NLDiQ==", + "dev": true, + "requires": { + "esbuild": "^0.12.8", + "fsevents": "~2.3.2", + "postcss": "^8.3.4", + "resolve": "^1.20.0", + "rollup": "^2.38.5" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..75d546e --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "count-btn", + "files": [ + "dist" + ], + "main": "./dist/count-btn.js", + "module": "./dist/count-btn.es.js", + "version": "0.0.0", + "scripts": { + "dev": "vite", + "build": "vite build", + "serve": "vite preview" + }, + "devDependencies": { + "@sveltejs/vite-plugin-svelte": "^1.0.0-next.11", + "svelte": "^3.37.0", + "vite": "^2.3.7" + } +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d75d248ef0b15096a95054643a4d97f5d9b60846 GIT binary patch literal 1150 zcmaKqSxA*Z7>4KMS_;~x;8i!JU{-`tpyx!I(n2NFMU)w2L{WiMS3#Lcp@vrpA*5Yp zSy6|`AkYfDD(e{`n8yX0pLf20X1@3RmKkGw`Vte3=0)aUq%ldx zm^49K+Hw0b#^`KboP)QXJOwbuVUFxlAs{RfqJ+twGylWfOp{Hc$s#253LlN1nsFVc zKa>40?h5(7PTC6ltDx)(Y&Ze2xggCq(kK? zTA`;gAfKD!+uFjpxc_A3+Ma(L28W=z4Gvs@r*ECk`;c45=S#;=oA|abt`f&j5&uJO z3Dn+&^gZ%h4JidsaTR{{!_Y8PUx(-%PosPy2gi@qIvBMMYz;e3L1{f~mrd9RdB>pZ zD}4R|sk_C`;=cT&r)c=8u>7h9)u32*SbL`xiq3(pq5C^5-sSOw;<|fv@nfXfl&U`2 z81K5ExDp;bf#DISW%IY%k&2-noShOoz-;kb(u?5RFX-ro?87j3GZdCXrFc8bTx}jd zz_n@djWnxc*TbbCjEq80FPyG}1zQwvjq7R6ZSWuQ@_#A*LN5n<3$BI?X}q%iD!B-s zdSFcNp!EgpJr6CAK?klug4>=)Tv z+F#{yt>6EK)3NU=L&y_W3UNaC?Tg=6YE0)^V;(0Mb0$WJ7>7@Lg0~+3x9d)!Pd + + + +
+ Svelte Logo +

Hello world!

+ + +
+ + diff --git a/src/assets/svelte.png b/src/assets/svelte.png new file mode 100644 index 0000000000000000000000000000000000000000..e673c91c7bcb0e3a1be737745af56990613a641e GIT binary patch literal 5185 zcmb7Ic{r5c+ka+Z#*(pQFEeFJ2}O~Z8EF@d5F#cN<(nC6vWyuCh3ZR|LZ*_XWJ_TN zGm@>cg|g2KDNlX&N=se&V8QiJoo*%Kj+*cI2_v~tsxBn zz@`(&51#=5sJICQkT7x8Ql!%%u6zlnoR5ga1q=NDo|E#Tvlx+&i6{s!iYADXh@uR# zsDLVZaZglB7qwK1df1}TUeOF!w7eiTzrmZlAzn^C?2LmGAdfM@6NqH$J$fa(m%HH1 zEfIf;QtXMtHqMbFKSx~OKEuf3c~rB^bdVIWHs`$YVN>_&XMCrPgxJLYDO?fn5VAhz zS{B*|nZ)foWa$5LZCB%jF2cAcUORK-k8ut2urUfK=zcD`G@zLOQwDqfy#AkE*PAJx z4GhXXimv`pa!)O#G7HtL5)-th2wK70>Ye}Gbc4OQY3E&j(YUf>x;${qk(kCxEbmWI zRa1Ok9w9+fDE)D8K*t0V9-I9LPEuhSu@$-e+FCf5be=t#I@-)=37iq+*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j{@va7%gk!tN9yH)f`)Y>BNNee-wqA@-P7 zmo+fE1fDFDy5jJ;Xx%Vphi<8q*sE+o6j#svA+b8COA9Tb>VG}kVH{;4npU-WV@SN> z7h5iYHXpu;bW`YCjvKbdZ+RuWyp}W%apAIAI#7XabEo}8k*lC(H12@_m>L8(PF&v^ zaNz#Z{+A36u5PQePx%t|DWl-{b)%94C(3iFnQCKqB@UdvUJ&t}uRrZ-(~}LzHt>s? zI4^1WJ-_da&#$`sHM;;m#u)`M=-XB+@(Dr3e1V1XFj+N$#+uG$EhjA+$Y(InEUE1| zzr;{K2u|<}LNm zeA;QzyA%d`Y%7x3CQmytPLj~7MjBV}+Y1oeosBMhsAZtpM^q-K2SK$1RuY)*r>Ac) zyx&D(@M4P!OS?bxb&=*qsLrp#$aL5l~B@cgqSn$l)9a+Ej#0$9I`r}~GR>lgGJLL0AYHaiMz z57?PKj3e0X-KfnMGScNGpI}CopnjI306}!4=8YMK!NNC_o5B*XvJ~Q7gN|s#j?BxH z&pqp-7!uE}Lf;N#&_OrAd-W3Ju4q6>@mIUVW8H-gbD950f3-t{IF#cVf1gTT#;Fi% zL3ztx?fKh2{6f@fl5oybzmlxNPrT}|$H{0{B)$ED+1bc(~OSM{-l{1dmLsMzh(PL+# z^-QYsfRKLw0CxvyusMaFRAGzu=X-Ta&i1yewRWmEXKzr^arb{88cLjS{NPaL18a*Igysgcdvt!TEjakV5xkVE<*{Q0J4)t!~JyB2ikK)7;hr{KEi1Gggj~dWS literal 0 HcmV?d00001 diff --git a/src/lib/Counter.svelte b/src/lib/Counter.svelte new file mode 100644 index 0000000..b1f9026 --- /dev/null +++ b/src/lib/Counter.svelte @@ -0,0 +1,36 @@ + + + + + + + diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..d561e64 --- /dev/null +++ b/src/main.js @@ -0,0 +1,5 @@ +import App from "./App.svelte"; + +const app = new App(); + +export default app; diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..4078e74 --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1,2 @@ +/// +/// diff --git a/svelte.config.js b/svelte.config.js new file mode 100644 index 0000000..c3eb35a --- /dev/null +++ b/svelte.config.js @@ -0,0 +1,5 @@ +module.exports = { + compilerOptions: { + customElement: true, + }, +}; diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..63b5594 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,28 @@ +import { defineConfig } from "vite"; +import { svelte } from "@sveltejs/vite-plugin-svelte"; + +// // https://vitejs.dev/config/ +// export default defineConfig({ +// plugins: [svelte()] +// }) + +const path = require("path"); + +module.exports = { + build: { + lib: { + entry: path.resolve(__dirname, "src/main.js"), + name: "MyLib", + }, + rollupOptions: { + output: { + // Provide global variables to use in the UMD build + // for externalized deps + globals: { + svelte: "Svelte", + }, + }, + }, + }, + plugins: [svelte()], +};