0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(elements): move check to build

This commit is contained in:
Gao Sun 2024-07-19 20:59:13 +08:00
parent 18c8fdf015
commit 175d4274de
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -28,14 +28,13 @@
},
"scripts": {
"precommit": "lint-staged",
"build": "lit-localize build && tsup",
"build": "pnpm check && lit-localize build && tsup",
"start": "web-dev-server",
"dev": "lit-localize build && tsup --watch --no-splitting",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"test": "echo \"No tests yet.\"",
"test:ci": "pnpm run test --silent --coverage",
"prepublishOnly": "pnpm check",
"prepack": "pnpm build",
"localize": "lit-localize",
"check": "lit-localize extract && git add . -N && git diff --exit-code"