This repository has been archived by the owner on Jan 15, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.1 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
{
"name": "picoapi",
"version": "0.2.0",
"description": "PicoApi is a tiny REST API Client with hooks. Supported in both NodeJs and Browsers!",
"type": "module",
"repository": "Mitsunee/picoapi",
"author": "Mitsunee",
"license": "MIT",
"packageManager": "yarn@1.22.0+",
"exports": {
".": {
"import": "./dist/createApi.js"
},
"./node-polyfill": {
"import": "./dist/node-polyfill.js"
}
},
"scripts": {
"lint": "eslint .",
"format": "prettier -w .",
"test": "uvu -r tsm -i mock -i fixtures",
"prebuild": "yarn lint && yarn test",
"build": "rollup -c",
"prepare": "simple-git-hooks",
"dev": "rollup -c -w",
"publish": "yarn build && clean-publish"
},
"simple-git-hooks": {
"pre-commit": "yarn nano-staged"
},
"nano-staged": {
"**/*.js": [
"eslint",
"prettier -w"
],
"**/*.{json,md,d.ts}": [
"prettier -w"
]
},
"files": [
"dist/",
"index.d.ts"
],
"clean-publish": {
"withoutPublish": true,
"tempDir": "tmp",
"packageManager": "yarn",
"fields": [
"scripts",
"packageManager"
],
"files": [
"src",
"rollup.config.mjs"
]
},
"devDependencies": {
"@foxkit/rollup-config": "^1.0.1",
"@types/node": "^17.0.25",
"@types/node-fetch": "^2.6.1",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"clean-publish": "^4.0.0",
"eslint": "8.13.0",
"eslint-config-foxkit": "^1.0.1",
"eslint-config-prettier": "^8.5.0",
"nano-staged": "^0.7.0",
"node-fetch": "^3.2.3",
"prettier": "^2.6.2",
"rollup": "^2.70.2",
"rollup-plugin-typescript2": "^0.31.2",
"simple-git-hooks": "^2.7.0",
"tsm": "^2.2.1",
"typescript": "^4.6.3",
"uvu": "^0.5.3"
},
"peerDependencies": {
"@types/node-fetch": ">=2.4",
"node-fetch": "^2.6.7 || >=3.1.1",
"typescript": ">=3.3.1"
},
"peerDependenciesMeta": {
"@types/node-fetch": {
"optional": true
},
"typescript": {
"optional": true
},
"node-fetch": {
"optional": true
}
}
}