Add `prepublishOnly` script running test and build before publish
This commit is contained in:
parent
2d129f2df5
commit
862c3f6822
|
@ -22,7 +22,8 @@
|
||||||
"minify": "gulp minify",
|
"minify": "gulp minify",
|
||||||
"start": "gulp watch",
|
"start": "gulp watch",
|
||||||
"test": "mocha test --require @babel/register",
|
"test": "mocha test --require @babel/register",
|
||||||
"lint": "standard --env=mocha"
|
"lint": "standard --env=mocha",
|
||||||
|
"prepublishOnly": "npm test && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "6.10.2",
|
"ajv": "6.10.2",
|
||||||
|
|
Loading…
Reference in New Issue