phase-6: typescript introduction

This commit is contained in:
Kazuma
2026-06-04 22:16:48 -04:00
parent 16bd95aa85
commit 69d13c3dbe
69 changed files with 2323 additions and 1036 deletions
+14 -10
View File
@@ -3,19 +3,20 @@
"version": "2.0.0",
"type": "module",
"scripts": {
"start": "node bin/screen.js",
"server": "node bin/server.js",
"dev": "concurrently -n api,ui -c cyan,magenta \"node bin/server.js\" \"npm run dev --prefix ui\"",
"start": "tsx bin/screen.ts",
"server": "tsx bin/server.ts",
"dev": "concurrently -n api,ui -c cyan,magenta \"tsx bin/server.ts\" \"npm run dev --prefix ui\"",
"ui:install": "npm install --prefix ui --legacy-peer-deps",
"finance": "node bin/finance.js",
"test": "node --test --test-reporter=./scripts/summary-reporter.js tests/*.test.js",
"test:watch": "node --test --watch --test-reporter=spec tests/*.test.js",
"format": "prettier --write \"src/**/*.js\" \"bin/**/*.js\" \"tests/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\" \"bin/**/*.js\" \"tests/**/*.js\"",
"finance": "tsx bin/finance.ts",
"typecheck": "tsc --noEmit",
"test": "tsx --test --test-reporter=./scripts/summary-reporter.js tests/*.test.js",
"test:watch": "tsx --test --watch --test-reporter=spec tests/*.test.js",
"format": "prettier --write \"server/**/*.ts\" \"bin/**/*.ts\" \"tests/**/*.js\"",
"format:check": "prettier --check \"server/**/*.ts\" \"bin/**/*.ts\" \"tests/**/*.js\"",
"prepare": "husky"
},
"lint-staged": {
"*.js": [
"*.{ts,js}": [
"prettier --write"
]
},
@@ -27,9 +28,12 @@
"yahoo-finance2": "^3.15.2"
},
"devDependencies": {
"@types/node": "^22.0.0",
"concurrently": "^10.0.3",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0"
"prettier": "^3.0.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0"
}
}