generated from pkgtoolsjs/template-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.74 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.74 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
61
62
63
64
65
66
67
68
69
70
71
{
"name": "@pkgtools/pkgtools",
"description": "A helper tool for Node.js packages.",
"version": "0.0.5",
"private": false,
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"bin": {
"pkgtools": "./dist/index.js"
},
"scripts": {
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
"lint": "oxlint --fix .",
"format": "prettier --write .",
"test": "echo \"OK\" && exit 0",
"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",
"build:watch": "tsdown --watch"
},
"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/pkgtools.git"
},
"license": "MIT",
"devDependencies": {
"@tsconfig/node22": "^22.0.2",
"@types/node": "^22.15.29",
"execa": "^9.6.0",
"is-ci": "^4.1.0",
"lint-staged": "^16.1.0",
"npm-run-all2": "^8.0.4",
"oxlint": "^0.16.12",
"prettier": "^3.5.3",
"simple-git-hooks": "^2.13.0",
"tsdown": "^0.12.5",
"tslib": "^2.8.1",
"tsx": "^4.19.4",
"typescript": "~5.8.3"
},
"dependencies": {
"@npmcli/git": "^6.0.3",
"chalk": "^5.4.1",
"commander": "^14.0.0",
"inquirer": "^12.6.3",
"undici": "^7.10.0",
"yargs": "^18.0.0"
}
}