We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1e550 commit a852d85Copy full SHA for a852d85
package.json
@@ -30,8 +30,9 @@
30
"mocha": "--require scripts/mocha-bootload src/**/__tests__/**/*.js"
31
},
32
"scripts": {
33
- "pretest": "npm run lint",
34
- "test": "mocha $npm_package_options_mocha && npm run check",
+ "prepublish": "npm run build",
+ "test": "npm run lint && npm run check && mocha $npm_package_options_mocha",
35
+ "testonly": "mocha $npm_package_options_mocha",
36
"lint": "eslint src",
37
"check": "flow check",
38
"cover": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
0 commit comments