Skip to content

Commit c8b38ec

Browse files
committed
[Tests] add npm run audit
1 parent 90eb2ed commit c8b38ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"pretest": "npm run lint",
3838
"test": "npm run tests-only",
3939
"posttest": "npm run coverage -- --quiet",
40+
"preaudit": "npm install --package-lock --package-lock-only",
41+
"audit": "npm audit",
42+
"postaudit": "rm package-lock.json",
4043
"tests-only": "node test",
4144
"coverage": "covert test/*.js",
4245
"lint": "eslint ."

0 commit comments

Comments
 (0)