We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9046c3b commit 40e3922Copy full SHA for 40e3922
Makefile
index.js
@@ -15,7 +15,7 @@ var extend = require('xtend')
15
try {
16
fs.statSync(__dirname + '/static/reporter.js')
17
} catch (_) {
18
- console.error('Reporter script missing. Run `make build` first.')
+ console.error('Reporter script missing. Run `npm run build` first.')
19
}
20
21
module.exports = function (opts) {
package.json
@@ -12,9 +12,10 @@
12
"browser-run": "./bin/bin.js"
13
},
14
"scripts": {
- "prepublish": "make build",
+ "build": "browserify browser/reporter.js -o static/reporter.js",
+ "prepublish": "npm run build",
"release": "np",
- "test": "make test"
+ "test": "npm run build && tap test/*.js"
"dependencies": {
"browser-launcher": "^2.0.0",
0 commit comments