/
package.json
57 lines (57 loc) · 1.31 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
{
"name": "pkg-name",
"type": "module",
"version": "0.0.0",
"private": false,
"packageManager": "pnpm@8.15.4",
"description": "",
"author": "lvjiaxuan <471501748@qq.com> (https://github.com/lvjiaxuan)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lvjiaxuan/pkg-name"
},
"keywords": [],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "echo dev",
"build": "echo build",
"test": "vitest --globals",
"lint": "oxlint . && eslint .",
"lint:fix": "oxlint . --fix && eslint . --fix",
"prepublishOnly": "pnpm run build"
},
"devDependencies": {
"@lvjiaxuan/eslint-config": "^1.9.1",
"@lvjiaxuan/eslint-plugin-oxlint": "^1.9.1",
"@types/node": "^20.11.24",
"eslint": "^8.57.0",
"oxlint": "^0.2.13",
"simple-git-hooks": "^2.10.0",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"simple-git-hooks": {
"pre-commit": [
"pnpm dlx lint-staged"
]
},
"lint-staged": {
"*": "pnpm run lint:fix"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}