Add a prepublish step to package.json

This commit is contained in:
Marijn Haverbeke
2014-09-12 16:54:28 +02:00
parent 4d4daa07e0
commit 0322beb0aa
3 changed files with 8 additions and 7 deletions

View File

@@ -12,7 +12,10 @@
"url": "http://marijnhaverbeke.nl/git/acorn"},
"licenses": [{"type": "MIT",
"url": "http://marijnhaverbeke.nl/acorn/LICENSE"}],
"scripts": {"test": "node test/run.js"},
"scripts": {
"test": "node test/run.js",
"prepublish": "bin/without_eval > acorn_csp.js"
},
"bin": {"acorn": "./bin/acorn"},
"devDependencies": {"regenerate": "~0.6.2",
"unicode-7.0.0": "~0.1.5"}