mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
run dist and lint when test is run
This commit is contained in:
@@ -73,7 +73,8 @@
|
|||||||
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
|
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
|
||||||
"prepublish": "npm run dist",
|
"prepublish": "npm run dist",
|
||||||
"start": "http-server ./examples",
|
"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": [
|
"keywords": [
|
||||||
"canvas",
|
"canvas",
|
||||||
|
Reference in New Issue
Block a user