1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 05:31:56 +02:00

run dist and lint when test is run

This commit is contained in:
Ian Storm Taylor
2016-07-29 09:17:38 -07:00
parent 4b712f1567
commit 25d78aa391

View File

@@ -73,7 +73,8 @@
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
"prepublish": "npm run dist",
"start": "http-server ./examples",
"test": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js"
"test": "npm run dist && npm run lint && npm run test:server",
"test:server": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js"
},
"keywords": [
"canvas",