1
0
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:
Ian Storm Taylor
2016-08-14 18:33:41 -07:00
parent 54a6cdad9d
commit f0ffd0b622

View File

@@ -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",