summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 14 insertions, 3 deletions
diff --git a/package.json b/package.json
index 98cad2c..f6c725e 100644
--- a/package.json
+++ b/package.json
@@ -25,14 +25,25 @@
},
"scripts": {
"build": "sh infra/chat/build-typescript.sh",
- "check": "tsc -p tsconfig.browser.json --noEmit && tsc -p tsconfig.worker.json --noEmit && tsc -p tsconfig.tests.json --noEmit",
+ "check": "npm run typecheck && node node_modules/typescript-native/bin/tsc -p tsconfig.tools.json && npm run lint && npm audit --audit-level=info",
"test:crypto": "node var/build/typescript/crates/chat-crypto/tests/browser.js",
"test:chat": "node var/build/typescript/crates/chat-server/tests/browser.js",
- "test:progress": "node var/build/typescript/crates/chat-server/tests/progress.js"
+ "test:progress": "node var/build/typescript/crates/chat-server/tests/progress.js",
+ "typecheck": "npm run typecheck:native && npm run typecheck:compat",
+ "lint": "eslint --no-config-lookup --config var/build/typescript/eslint.config.js --max-warnings 0 .",
+ "typecheck:native": "node node_modules/typescript-native/bin/tsc -p tsconfig.browser.json --noEmit && node node_modules/typescript-native/bin/tsc -p tsconfig.worker.json --noEmit && node node_modules/typescript-native/bin/tsc -p tsconfig.tests.json --noEmit && node node_modules/typescript-native/bin/tsc -p tsconfig.tools.json --noEmit",
+ "typecheck:compat": "node node_modules/typescript/bin/tsc -p tsconfig.browser.json --noEmit && node node_modules/typescript/bin/tsc -p tsconfig.worker.json --noEmit && node node_modules/typescript/bin/tsc -p tsconfig.tests.json --noEmit && node node_modules/typescript/bin/tsc -p tsconfig.tools.json --noEmit"
},
"devDependencies": {
"@types/node": "26.6.6",
"playwright": "1.64.1",
- "typescript": "7.0.2"
+ "typescript": "6.0.3",
+ "typescript-native": "npm:typescript@7.0.2",
+ "eslint": "10.14.0",
+ "@eslint/js": "10.0.1",
+ "typescript-eslint": "8.72.1"
+ },
+ "overrides": {
+ "minimatch": "11.0.3"
}
}