-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
59 lines (59 loc) · 1.71 KB
/
package.json
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
{
"name": "template-ts",
"version": "1.0.0",
"private": true,
"type": "module",
"engines": {
"node": ">=18.11.0"
},
"main": "dist/index.js",
"scripts": {
"lint": "eslint --cache --ext .ts ./src",
"lint:fix": "eslint --fix --cache --ext .ts ./src",
"format": "prettier --write --cache .",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node --no-warnings --experimental-loader=ts-node/esm --watch-path=./src ./src/index.ts",
"start": "node ./dist/index.js",
"build:dev": "rollup -c --configPlugin typescript --environment BUILD:development",
"build": "rollup -c --configPlugin typescript --environment BUILD:production",
"postinstall": "node ./scripts/postinstall.js"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js?(x),json}": [
"prettier --write"
],
"*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
},
"author": "hhui64",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.4.8",
"@swc/helpers": "^0.5.6",
"@types/node": "^20.11.28",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"execa": "^8.0.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.13.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"simple-git-hooks": "^2.11.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.6.2",
"typescript": "^5.4.2",
"typescript-eslint": "^7.2.0"
}
}