mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor: add back build:test
for other packages
This commit is contained in:
parent
340d562f37
commit
f549841b67
5 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
||||
"build:test": "pnpm build",
|
||||
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts",
|
||||
"build": "rm -rf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json",
|
||||
"build:test": "pnpm build",
|
||||
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
||||
"start": "node .",
|
||||
"start:dev": "pnpm build && node .",
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"dev": "tsc --watch --preserveWatchOutput --incremental",
|
||||
"build": "rm -rf lib/ && tsc",
|
||||
"build:test": "pnpm build",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
"prepack": "pnpm build",
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
||||
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
||||
"build:test": "pnpm build",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
"prepack": "pnpm build",
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
||||
"build:test": "pnpm build",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
"prepack": "pnpm build",
|
||||
|
|
Loading…
Reference in a new issue