-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.52 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.52 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@pkgtoolsjs/template-ts",
"description": "A Node.js template with TypeScript and ES Module support.",
"version": "0.0.0",
"private": true,
"type": "module",
"engines": {
"node": ">=22"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"scripts": {
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
"lint": "oxlint --fix .",
"format": "prettier --write .",
"test": "vitest",
"dev": "tsx watch --env-file=.env ./src/index.ts --nolazy",
"start": "node --env-file=.env ./dist/index.js",
"type-check": "tsc --noEmit",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "tsdown"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js?(x),json,md}": [
"prettier --write"
],
"*.ts?(x)": [
"oxlint",
"prettier --parser=typescript --write"
]
},
"author": "pkgtoolsjs",
"repository": {
"url": "git+https://github.com/pkgtoolsjs/template-ts.git"
},
"license": "MIT",
"devDependencies": {
"@tsconfig/node24": "^24.0.1",
"@types/node": "^24.7.0",
"execa": "^9.6.0",
"is-ci": "^4.1.0",
"lint-staged": "^16.2.3",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.20.0",
"prettier": "^3.6.2",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.15.6",
"tslib": "^2.8.1",
"tsx": "^4.20.6",
"typescript": "~5.9.3",
"vitest": "^4.0.0-beta.16"
}
}