Skip to content

Commit 5806e45

Browse files
author
Péter Hauszknecht
committed
add publish script
1 parent 264c86c commit 5806e45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"build:umd": "rimraf dist && node_modules/.bin/rollup -c rollup.config.js && node_modules/.bin/rollup -c rollup.config.prod.js",
1212
"build:w": "node_modules/.bin/tsc -w",
1313
"pretest": "npm run build:node",
14-
"test": "node_modules/.bin/mocha lib/**/*.spec.js -c"
14+
"test": "node_modules/.bin/mocha lib/**/*.spec.js -c",
15+
"publish": "npm run build && npm publish"
1516
},
1617
"files": [
1718
"dist"

0 commit comments

Comments
 (0)