-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.58 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
{
"name": "@buttercup/fetch",
"version": "0.2.1",
"description": "Fetch adapter for cross-platform use.",
"type": "module",
"exports": {
".": {
"browser": "./dist/index.browser.js",
"default": "./dist/index.node.js"
}
},
"react-native": "./dist/index.browser.js",
"types": "./dist/index.node.d.ts",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"format": "prettier --write \"{source,test}/**/*.{js,ts}\"",
"prepublishOnly": "npm run build",
"test": "npm run test:node && npm run test:format",
"test:format": "prettier --check \"{source,test}/**/*.{js,ts}\"",
"test:node": "npm run build && mocha 'test/node/**.spec.js'"
},
"files": [
"./dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/buttercup/fetch.git"
},
"lint-staged": {
"{source,test}/**/*.{js,ts}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"keywords": [
"fetch",
"request"
],
"author": "Perry Mitchell <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/buttercup/fetch/issues"
},
"homepage": "https://github.com/buttercup/fetch#readme",
"devDependencies": {
"@types/node": "^20.12.7",
"chai": "^5.1.0",
"husky": "^4.3.8",
"json-server": "^0.17.1",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^4.9.5",
"url-join": "^5.0.0"
},
"optionalDependencies": {
"node-fetch": "^3.3.0"
}
}