/
package.json
57 lines (57 loc) · 1.4 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": "node-lib-starter",
"version": "0.0.0",
"packageManager": "[email protected]",
"description": "My awesome typescript library",
"license": "MIT",
"homepage": "https://github.com/sxzz/node-lib-starter#readme",
"bugs": {
"url": "https://github.com/sxzz/node-lib-starter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sxzz/node-lib-starter.git"
},
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./*": "./*"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json,.md",
"lint:fix": "pnpm run lint --fix",
"build": "tsup && tsx scripts/postbuild.mts",
"test": "vitest",
"release": "bumpp && pnpm publish",
"prepublishOnly": "pnpm run build"
},
"devDependencies": {
"@sxzz/eslint-config-prettier": "^2.4.6",
"@sxzz/eslint-config-ts": "^2.4.6",
"@types/node": "^18.16.3",
"bumpp": "^9.1.0",
"eslint": "^8.39.0",
"eslint-define-config": "^1.20.0",
"fast-glob": "^3.2.12",
"prettier": "^2.8.8",
"tsup": "^6.7.0",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"engines": {
"node": ">=16.14.0"
}
}