mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor: add build:test
script
This commit is contained in:
parent
32fa807d16
commit
dd24f1de5d
3 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"dev": "tsc --watch --preserveWatchOutput --incremental",
|
||||
"build:test": "pnpm build",
|
||||
"build": "rm -rf lib/ && rollup -c && tsc",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
||||
"build": "rm -rf lib/ && rollup -c && 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/ && rollup -c && 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