-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.29 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
{
"name": "lib-name",
"type": "module",
"version": "0.0.0",
"description": "lib-description",
"author": "alexzhang1030",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/alexzhang1030/lib-name.git"
},
"keywords": [],
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "vitest",
"lint": "eslint .",
"prepare": "simple-git-hooks",
"build": "tsup",
"prepublishOnly": "pnpm run build",
"release": "vitest run && bumpp --commit \"chore: release v%s\" --push --tag && pnpm publish"
},
"devDependencies": {
"@antfu/eslint-config-ts": "^0.39.7",
"bumpp": "^9.1.1",
"eslint": "^8.44.0",
"lint-staged": "^13.2.3",
"simple-git-hooks": "^2.8.1",
"tsup": "^6.7.0",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,ts,json,md,yaml,yml}": [
"eslint --fix"
]
},
"eslintConfig": {
"extends": "@antfu/eslint-config-ts"
}
}