Browse Source

build before publish on npm

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
dea136fab5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      package.json

+ 2
- 1
package.json View File

@@ -7,7 +7,8 @@
"scripts": { "scripts": {
"dev": "npm install && webpack-dev-server --inline --hot --host 0.0.0.0", "dev": "npm install && webpack-dev-server --inline --hot --host 0.0.0.0",
"build": "rm -rf dist && NODE_ENV=production webpack --display-error-details --progress --hide-modules", "build": "rm -rf dist && NODE_ENV=production webpack --display-error-details --progress --hide-modules",
"test": "ava test --compilers js:babel-register"
"test": "ava test --compilers js:babel-register",
"prepublish": "npm test && npm run build"
}, },
"dependencies": { "dependencies": {
"axios": "^0.15.2", "axios": "^0.15.2",


Loading…
Cancel
Save