build命令
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000
|
|
||||||
./node_modules/mocha/bin/mocha -t 5000
|
|
||||||
@@ -34,7 +34,10 @@
|
|||||||
"blanket": {
|
"blanket": {
|
||||||
"pattern": "xss/lib"
|
"pattern": "xss/lib"
|
||||||
},
|
},
|
||||||
"test": "./node_modules/mocha/bin/mocha -t 5000"
|
"test": "./node_modules/mocha/bin/mocha -t 5000",
|
||||||
|
"blanket": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000",
|
||||||
|
"build": "./bin/build",
|
||||||
|
"prepublish": "npm run test && npm run build"
|
||||||
},
|
},
|
||||||
"licenses": [
|
"licenses": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user