This repository was archived by the owner on Sep 17, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 2.74 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@foxkit/node-util",
"version": "0.4.0",
"description": "Node.js Utility Modules",
"keywords": [
"fs",
"path",
"utils",
"foxkit"
],
"repository": "Mitsunee/foxkit",
"author": "Mitsunee",
"license": "MIT",
"type": "module",
"exports": {
"./fs": {
"types": "./fs.d.ts",
"import": "./dist/fs.js",
"require": "./dist/fs.cjs"
},
"./fs-yaml": {
"types": "./fs-yaml.d.ts",
"import": "./dist/fs-yaml.js",
"require": "./dist/fs-yaml.cjs"
},
"./log": {
"types": "./log.d.ts",
"import": "./dist/log.js",
"require": "./dist/log.cjs"
},
"./path": {
"types": "./path.d.ts",
"import": "./dist/path.js",
"require": "./dist/path.cjs"
},
"./readline": {
"types": "./readline.d.ts",
"import": "./dist/readline.js",
"require": "./dist/readline.cjs"
}
},
"scripts": {
"format": "prettier -w .",
"lint": "eslint .",
"test": "tsc --noEmit",
"prebuild": "yarn lint && yarn test",
"build": "rollup -c",
"postbuild": "tsc --declaration --emitDeclarationOnly",
"dev": "rollup -c -w",
"publish": "yarn build && clean-publish"
},
"eslintConfig": {
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"foxkit",
"foxkit/ts",
"prettier"
]
},
"nano-staged": {
"**/*.{js,ts}": [
"eslint",
"prettier -w"
],
"**/*.{json,md}": [
"prettier -w"
]
},
"files": [
"dist/",
"fs.d.ts",
"fs-yaml.d.ts",
"log.d.ts",
"path.d.ts",
"readline.d.ts"
],
"clean-publish": {
"withoutPublish": true,
"tempDir": "../../publish/node-util",
"packageManager": "yarn",
"fields": [
"scripts",
"packageManager",
"nano-staged"
],
"files": [
"babel.config.json",
"src",
"rollup.config.mjs",
"tsconfig.json"
]
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@foxkit/rollup-config": "*",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"clean-publish": "^4.0.0",
"eslint": "^8.24.0",
"eslint-config-foxkit": "*",
"eslint-config-prettier": "^8.5.0",
"nano-staged": "^0.8.0",
"prettier": "^2.6.1",
"rollup": "^2.75.3",
"typescript": "^4.8.4",
"yaml": "^2.1.1"
},
"peerDependencies": {
"picocolors": "^1.0.0",
"yaml": "^1.10.2"
},
"peerDependenciesMeta": {
"picocolors": {
"optional": true
},
"yaml": {
"optional": true
}
}
}