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