Skip to content

Commit 450ac33

Browse files
committed
chore(ci): move lockfile-lint from preinstall script
Signed-off-by: Matt Roberts <code@rbrts.uk>
1 parent 27ec568 commit 450ac33

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"coverage": "node ./scripts/coverage.js \"packages/concerto-*\" && nyc report -t coverage --cwd . --report-dir coverage --reporter=lcov && cat ./coverage/lcov.info",
1515
"prepublishOnly": "npm run webpack",
1616
"pretest": "npm run lint",
17-
"lint": "eslint .",
17+
"lint": "eslint . && npm run lint:lockfile && npm run lint:deps",
1818
"postlint": "npm run licchk",
1919
"licchk": "license-check-and-add",
2020
"postlicchk": "npm run doc",
@@ -30,8 +30,7 @@
3030
"build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --esModuleInterop --outDir types",
3131
"lint:deps": "syncpack lint",
3232
"lint:deps:fix": "syncpack fix",
33-
"lint:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https",
34-
"preinstall": "npm run lint:lockfile && npm run lint:deps"
33+
"lint:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https"
3534
},
3635
"mocha": {
3736
"require": "mocha-expect-snapshot"

0 commit comments

Comments
 (0)