Build packages after installing

This commit is contained in:
Zalmoxisus 2018-12-07 18:18:19 +02:00
parent 18910522f0
commit e4ce71385f
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,8 @@
"test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive", "test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
"test:watch": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch", "test:watch": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch",
"test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive",
"prepublish": "npm run lint && npm run test && npm run clean && npm run build" "postinstall": "npm run build",
"prepublishOnly": "npm run lint && npm run test && npm run clean && npm run build"
}, },
"files": [ "files": [
"lib", "lib",

View File

@ -10,7 +10,8 @@
"test": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive", "test": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
"test:watch": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch", "test:watch": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch",
"test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive",
"prepublish": "npm run lint && npm run test && npm run clean && npm run build" "postinstall": "npm run build",
"prepublishOnly": "npm run lint && npm run test && npm run clean && npm run build"
}, },
"files": [ "files": [
"lib", "lib",