-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 1.83 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
{
"name": "fetch-in-flight",
"version": "1.0.1",
"description": "Prevent multiple fetch requests to the same resource",
"main": "dist/fetch-in-flight.umd.js",
"module": "dist/fetch-in-flight.esm.js",
"unpkg": "dist/fetch-in-flight.min.js",
"scripts": {
"build:browser": "parcel build src/index.ts --out-dir dist --out-file fetch-in-flight.min.js --target browser",
"build:es": "parcel build src/index.ts --out-dir dist --out-file fetch-in-flight.esm.js --target electron",
"build:umd": "parcel build src/index.ts --out-dir dist --out-file fetch-in-flight.umd.js --target node",
"build": "npm run build:browser && npm run build:es && npm run build:umd",
"release": "release-it",
"test:watch": "jest --coverage --watch",
"test": "jest --coverage"
},
"jest": {
"automock": false,
"setupFiles": [
"./test/setupJest.js"
],
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/coverage/**",
"!**/dist/**"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/alajfit/fetch-in-flight.git"
},
"keywords": [
"fetch",
"inflight"
],
"author": "Alan J. Fitzpatrick <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/alajfit/fetch-in-flight/issues"
},
"homepage": "https://github.com/alajfit/fetch-in-flight#readme",
"devDependencies": {
"@types/jest": "^24.0.24",
"jest": "^24.9.0",
"jest-fetch-mock": "^3.0.1",
"node-fetch": "^2.6.0",
"parcel-bundler": "^1.12.4",
"release-it": "^12.4.3",
"ts-jest": "^24.2.0",
"typescript": "^3.7.5"
},
"dependencies": {}
}