add dependency check pre-condition to all packages (#2580)

This commit is contained in:
Chris Breiding
2018-10-15 16:42:32 -04:00
committed by GitHub
parent f4209dbe65
commit 2a8478fc36
17 changed files with 234 additions and 18 deletions
+5 -2
View File
@@ -5,14 +5,17 @@
"main": "index.js",
"scripts": {
"postinstall": "echo '@packages/example needs: npm run build'",
"check-deps": "node ../../scripts/check-deps.js --verbose",
"check-deps-pre": "npm run check-deps -- --prescript",
"clean-deps": "rm -rf node_modules",
"pretest": "npm run check-deps-pre && npm run lint",
"test": "cross-env NODE_ENV=test mocha",
"test-e2e": "cypress run",
"prebuild": "npm run check-deps-pre",
"build": "node ./bin/build.js && gulp build",
"predeploy": "npm run build",
"deploy": "gulp deploy",
"lint": "bin-up eslint --fix *.js bin/*.js lib/*.js test/*.js",
"pretest": "npm run lint"
"lint": "bin-up eslint --fix *.js bin/*.js lib/*.js test/*.js"
},
"files": [
"cypress",