diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..5bc7f31 --- /dev/null +++ b/.npmignore @@ -0,0 +1,3 @@ +* +!dist/* +!src/vue-horizontal-list.vue diff --git a/package.json b/package.json index 08872ef..182467b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-horizontal-list", - "version": "1.0.0", + "version": "1.0.5", "description": "A pure vue ssr friendly horizontal list implementation.", "author": "Fuxing Loh", "repository": { @@ -20,11 +20,6 @@ "main": "dist/vue-horizontal-list.ssr.js", "module": "dist/vue-horizontal-list.esm.js", "unpkg": "dist/vue-horizontal-list.min.js", - "files": [ - "dist/*", - "src/**/*.vue", - "!src/serve-dev.*" - ], "scripts": { "serve": "vue-cli-service serve src/serve-dev.js", "build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",