repository template for Node.js & TypeScript projects
at vite8 40 lines 1.1 kB view raw
1{ 2 "private": true, 3 "version": "0.0.0", 4 "name": "@author/monorepo", 5 "type": "module", 6 "workspaces": [ 7 "packages/**" 8 ], 9 "scripts": { 10 "build": "npm run build --workspaces --if-present", 11 "docs": "typedoc --logLevel Verbose", 12 "docs-watch": "typedoc --watch", 13 "clean": "rm -rf ./dist/ ./node_modules ./package-lock.json", 14 "test": "vitest --coverage", 15 "test-ci": "vitest run --coverage", 16 "test-ui": "vitest --ui --coverage", 17 "test-html": "vitest run --reporter=html --coverage.clean; vite preview --outDir ./dist/vitest/report", 18 "test-json": "vitest run --reporter=json --coverage.clean", 19 "fmt": "oxfmt", 20 "fmt-ci": "oxfmt --check", 21 "lint": "oxlint --type-aware --type-check", 22 "fix": "oxlint --fix", 23 "inspect": "node-modules-inspector" 24 }, 25 "devDependencies": { 26 "@types/node": "^25.0.1", 27 "@vitest/coverage-v8": "^4.0.15", 28 "@vitest/ui": "^4.0.15", 29 "oxfmt": "^0.17.0", 30 "oxlint": "^1.32.0", 31 "oxlint-tsgolint": "^0.8.6", 32 "node-modules-inspector": "^1.2.0", 33 "publint": "^0.3.16", 34 "tsdown": "^0.17.3", 35 "typedoc": "^0.28.15", 36 "typescript": "^5.9.3", 37 "vite": "8.0.0-beta.0", 38 "vitest": "^4.0.15" 39 } 40}