0
Fork 0
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:
Gao Sun 2022-12-14 13:45:06 +08:00
parent 32fa807d16
commit dd24f1de5d
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
3 changed files with 3 additions and 0 deletions

View file

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

View file

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

View file

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