-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.33 KB
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "truapi",
"private": true,
"workspaces": [
"js/packages/*"
],
"engines": {
"node": ">=22"
},
"scripts": {
"build": "npm run build --prefix js/packages/truapi && cd playground && yarn build",
"codegen": "./scripts/codegen.sh",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
"typecheck": "npm run typecheck --prefix js/packages/truapi && cd playground && npx tsc --noEmit --noUnusedLocals --noUnusedParameters",
"typecheck:cli": "tsc -p rust/crates/truapi-host-cli/js/tsconfig.json",
"test": "cargo test --workspace && npm test --prefix js/packages/truapi",
"test:scripts": "node --test scripts/lib/*.test.mjs",
"lint": "npm run format:check && npm run typecheck",
"changeset": "changeset",
"version-packages": "changeset version && npm run sync-release-versions && npm install --package-lock-only --ignore-scripts",
"sync-release-versions": "node scripts/sync-release-versions.mjs",
"check-release-versions": "node scripts/sync-release-versions.mjs --check"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"prettier": "^3.8.3"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}