0
Fork 0
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:
Gao Sun 2022-10-06 17:34:21 +08:00 committed by GitHub
parent 44d9177161
commit 441e9e9262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View file

@ -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",

View file

@ -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": {

View file

@ -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"

View file

@ -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": {