mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 19:52:32 +02:00
add publish script
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
"is-url": "^1.2.2",
|
||||
"mocha": "^2.5.3",
|
||||
"mocha-jsdom": "^1.1.0",
|
||||
"np": "^2.9.0",
|
||||
"npm-run-all": "^2.3.0",
|
||||
"prismjs": "^1.5.1",
|
||||
"react": "^15.2.0",
|
||||
@@ -86,6 +87,7 @@
|
||||
"lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,lib}/**/*.js'",
|
||||
"open": "open http://localhost:8080/dev.html",
|
||||
"prepublish": "npm run dist",
|
||||
"publish": "np",
|
||||
"start": "http-server ./examples",
|
||||
"test": "npm-run-all lint dist:npm tests",
|
||||
"tests": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js",
|
||||
|
Reference in New Issue
Block a user