diff --git a/package-lock.json b/package-lock.json index dcf80544..b2ac9090 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "happychat-client", - "version": "0.0.1", + "version": "0.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bf918595..4dccba55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "happychat-client", - "version": "0.0.1", + "version": "0.1.0", "description": "", "main": "./targets/npm/api.js", "keywords": [], @@ -16,6 +16,7 @@ "scripts": { "analyze-bundles": "NODE_ENV=analyze webpack -p --config webpack.standalone.config.js", "postinstall": "node bin/fix-local-config", + "prepublishOnly": "npm run build:npm", "start": "run-p dev:standalone", "dev:standalone": "run-p dev:standalone:*", "dev:standalone:js": "NODE_ENV=development webpack-dev-server --config webpack.standalone.config.js", diff --git a/targets/npm/.gitignore b/targets/npm/.gitignore index 86d0cb27..0aff9035 100644 --- a/targets/npm/.gitignore +++ b/targets/npm/.gitignore @@ -1,4 +1,5 @@ # Ignore everything in this directory * # Except this file -!.gitignore \ No newline at end of file +!.gitignore +!.npmignore diff --git a/targets/npm/.npmignore b/targets/npm/.npmignore new file mode 100644 index 00000000..e69de29b