Browse Source

package.json: Extract "test-browser" and "test-node" scripts

pull/233/head
Tobias Bieniek 10 years ago
parent
commit
3c309274a3
  1. 4
      package.json
  2. 2
      tests/test.js

4
package.json

@ -48,6 +48,8 @@ @@ -48,6 +48,8 @@
"serve-static": "^1.7.1"
},
"scripts": {
"test": "node tests/test.js"
"test-browser": "node tests/test.js",
"test-node": "node tests/node-tests.js",
"test": "npm run test-node && npm run test-browser"
}
}

2
tests/test.js

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
require('./node-tests.js');
var connect = require('connect');
var serveStatic = require('serve-static');
var open = require('open');

Loading…
Cancel
Save