mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: fix package scripts (#2044)
This commit is contained in:
parent
44d9177161
commit
441e9e9262
4 changed files with 6 additions and 5 deletions
|
@ -9,13 +9,13 @@
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
||||||
"prepack": "lerna run --stream prepack",
|
"prepack": "lerna run --stream prepack",
|
||||||
"dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-test run --parallel dev",
|
"dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev",
|
||||||
"start": "cd packages/core && NODE_ENV=production node . --from-root",
|
"start": "cd packages/core && NODE_ENV=production node . --from-root",
|
||||||
"alteration": "cd packages/core && pnpm alteration",
|
"alteration": "cd packages/core && pnpm alteration",
|
||||||
"ci:build": "lerna run --stream build",
|
"ci:build": "lerna run --stream build",
|
||||||
"ci:lint": "lerna run --parallel lint",
|
"ci:lint": "lerna run --parallel lint",
|
||||||
"ci:stylelint": "lerna run --parallel stylelint",
|
"ci:stylelint": "lerna run --parallel stylelint",
|
||||||
"ci:test": "lerna run --parallel test:coverage"
|
"ci:test": "lerna run --parallel test:ci"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^17.0.0",
|
"@commitlint/cli": "^17.0.0",
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"add-official-connectors": "node build/cli/add-official-connectors.js",
|
"add-official-connectors": "node build/cli/add-official-connectors.js",
|
||||||
"alteration": "node build/cli/alteration.js",
|
"alteration": "node build/cli/alteration.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:coverage": "jest --coverage --silent",
|
"test:ci": "jest --coverage --silent",
|
||||||
"test:report": "codecov -F core"
|
"test:report": "codecov -F core"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
"lint": "eslint --ext .ts src",
|
"lint": "eslint --ext .ts src",
|
||||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||||
"prepack": "pnpm build",
|
"prepack": "pnpm build",
|
||||||
"test": "jest"
|
"test": "jest",
|
||||||
|
"test:ci": "jest"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.0.0"
|
"node": "^16.0.0"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"lint": "eslint --ext .ts --ext .tsx src",
|
"lint": "eslint --ext .ts --ext .tsx src",
|
||||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||||
"stylelint": "stylelint \"src/**/*.scss\"",
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
||||||
"test:coverage": "jest --coverage --silent",
|
"test:ci": "jest --coverage --silent",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Reference in a new issue