-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 1.92 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "fix-tsup-cjs",
"version": "1.2.0",
"description": "Fix the commonjs default export statement and type definition of tsup output",
"keywords": [
"tsup",
"cjs",
"postbuild",
"commonjs",
"commonjs dts",
"commonjs types",
"module.exports",
"export default"
],
"repository": {
"url": "https://github.com/u3u/fix-tsup-cjs.git"
},
"license": "MIT",
"author": "u3u <qwq@qwq.cat> (https://github.com/u3u)",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"bin": "./dist/cli.js",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"format": "prettier --write .",
"lint": "eslint --fix .",
"prepare": "pnpm build",
"test": "vitest --ui --coverage"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged --concurrent false"
},
"lint-staged": {
"*.{js,cjs,ts}": [
"eslint --fix"
],
"*": [
"prettier --write --ignore-unknown"
]
},
"dependencies": {
"cac": "^6.7.14",
"fast-glob": "^3.3.1",
"kolorist": "^1.8.0",
"read-pkg": "^8.0.0"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.0",
"@types/node": "^18.17.4",
"@u3u/eslint-config": "^2.9.1",
"@u3u/prettier-config": "^3.0.1",
"@vitest/coverage-v8": "^0.34.1",
"@vitest/ui": "^0.34.1",
"eslint": "^8.46.0",
"execa": "^7.2.0",
"fix-tsup-cjs": "link:",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.9.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
},
"packageManager": "pnpm@8.6.12",
"publishConfig": {
"access": "public"
}
}