-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.69 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
{
"name": "@zcorky/fz",
"version": "1.2.7",
"description": "A simply fetch library",
"main": "lib/index.js",
"repository": "https://github.com/zcorky/fz",
"author": "Zero",
"license": "MIT",
"scripts": {
"dev": "tsc -w",
"build": "npm run clean && tsc",
"clean": "rimraf -rf lib",
"test": "NODE_ENV=test jest -w 1 --detectOpenHandles",
"coverage": "codecov",
"prepublish": "npm run build"
},
"devDependencies": {
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^27.0.1",
"@types/node": "^16.9.2",
"codecov": "^3.8.3",
"create-test-server": "^2.4.0",
"jest": "^27.2.0",
"mocha": "^5.2.0",
"node-fetch": "2.6.4",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.9",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"files": [
"lib"
],
"jest": {
"roots": [
"test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "test/.*\\.spec\\.(ts|tsx)$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 60,
"lines": 80,
"statements": -60
}
},
"testTimeout": 10000
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@zcorky/delay": "^1.0.1",
"@zcorky/lru": "^1.0.5",
"@zcorky/query-string": "^1.0.2",
"@zodash/url-join": "^0.1.6",
"isomorphic-fetch": "^3.0.0"
}
}