This repository was archived by the owner on Jan 31, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.4 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.4 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "@foxkit/node-util",
"version": "0.6.0",
"description": "Node.js Utility Modules",
"keywords": [
"fs",
"path",
"json",
"utils",
"foxkit"
],
"repository": "foxkit-js/node-util",
"author": "Mitsunee",
"license": "MIT",
"type": "module",
"exports": {
"./fs": "./src/fs/index.ts",
"./fs-extra": "./src/fs-extra/index.ts",
"./log": "./src/log/index.ts",
"./readline": "./src/readline/index.ts"
},
"scripts": {
"prepare": "simple-git-hooks",
"format": "prettier -w .",
"format:check": "prettier -c .",
"lint": "eslint .",
"lint:strict": "eslint --max-warnings 0 .",
"typecheck": "tsc --noEmit",
"build": "node build.js && tsc -p tsconfig.build.json && clear-package-json package.json -o dist/package.json"
},
"nano-staged": {
"**/*.{js,cjs,mjs,ts,mts,cts,json,md,yaml}": [
"prettier -w"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm nano-staged"
},
"files": [
"fs/",
"fs-extra/",
"log/",
"readline/"
],
"clean-publish": {
"packageManager": "pnpm",
"withoutPublish": true,
"tempDir": "dist",
"fields": [
"scripts",
"nano-staged",
"simple-git-hooks"
]
},
"publishConfig": {
"access": "public",
"exports": {
"./fs": {
"types": "./fs/index.d.ts",
"import": "./fs/index.js",
"require": "./fs/index.cjs"
},
"./fs-extra": {
"types": "./fs-extra/index.d.ts",
"import": "./fs-extra/index.js",
"require": "./fs-extra/index.cjs"
},
"./log": {
"types": "./log/index.d.ts",
"import": "./log/index.js",
"require": "./log/index.cjs"
},
"./readline": {
"types": "./readline/index.d.ts",
"import": "./readline/index.js",
"require": "./readline/index.cjs"
}
}
},
"devDependencies": {
"@types/node": "^20.13.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"clean-publish": "^5.0.0",
"esbuild": "^0.21.4",
"eslint": "^8.57.0",
"eslint-config-foxkit": "3.1.0",
"eslint-config-prettier": "^9.1.0",
"nano-staged": "^0.8.0",
"prettier": "^3.2.5",
"simple-git-hooks": "^2.11.1",
"typescript": "~5.4.5"
},
"peerDependencies": {
"picocolors": ">=1.0.0"
},
"peerDependenciesMeta": {
"picocolors": {
"optional": true
}
}
}