Skip to content

Commit

Permalink
Add audit script to prepare for lerna/lerna#2492
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Stawiarski committed Aug 2, 2020
1 parent 785c674 commit 4f399d3
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"build": "lerna run tsc && lerna bootstrap",
"benchmark": "npm run build && lerna run benchmark",
"publish": "lerna run tsc && lerna publish"
"publish": "lerna run tsc && lerna publish",
"audit": "lerna run audit:fix && lerna bootstrap"
}
}
5 changes: 5 additions & 0 deletions packages/ecs-benchmark/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/ecs-benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"lib"
],
"scripts": {
"audit:fix": "npm i --package-lock-only && npm audit --fix",
"tsc": "tsc",
"benchmark": "tsc && node lib/ecs-benchmark.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/ecs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
],
"scripts": {
"test": "jest --rootDir .",
"tsc": "tsc"
"tsc": "tsc",
"audit:fix": "npm i --package-lock-only & npm audit --fix"
},
"repository": {
"type": "git",
Expand Down
5 changes: 5 additions & 0 deletions packages/pixi-renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/pixi-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"scripts": {
"test": "karma",
"tsc": "tsc"
"tsc": "tsc",
"audit:fix": "npm i --package-lock-only && npm audit --fix"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4f399d3

Please sign in to comment.