Browse Source

Add seperate test commands for test suites

browser-tests
Luke Childs 8 years ago
parent
commit
0fa10be353
  1. 4
      package.json

4
package.json

@ -11,6 +11,10 @@
"pretest": "npm run build:map", "pretest": "npm run build:map",
"lint": "xo", "lint": "xo",
"test": "nyc ava", "test": "nyc ava",
"pretest:browser": "npm run pretest",
"test:browser": "nyc ava test/browser",
"pretest:node": "npm run pretest",
"test:node": "nyc ava test/node",
"coverage": "nyc report --reporter=text-lcov | coveralls", "coverage": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run build" "prepublish": "npm run build"
}, },

Loading…
Cancel
Save