-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
81 lines (81 loc) · 2.76 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
{
"name": "json-fetch",
"version": "9.0.10",
"description": "A wrapper around ES6 fetch to simplify interacting with JSON APIs.",
"author": "Good Eggs <open-source@goodeggs.com>",
"contributors": [
"dannynelson <danny@goodeggs.com>",
"Arlo Armstrong <arlo@goodeggs.com>"
],
"license": "MIT",
"keywords": [
"fetch",
"api",
"json",
"es6"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git://github.com/goodeggs/json-fetch.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"homepage": "https://github.com/goodeggs/json-fetch",
"bugs": "https://github.com/goodeggs/json-fetch/issues",
"engines": {
"node": ">=12"
},
"dependencies": {
"@babel/runtime": "^7.24.7",
"@types/promise-retry": "^1.1.6",
"isomorphic-fetch": "2.2.1",
"lodash": "^4.17.21",
"promise-retry": "1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6",
"@goodeggs/toolkit": "^7.0.1",
"@goodeggs/tsconfig": "^1.0.0",
"@types/isomorphic-fetch": "^0.0.39",
"@types/lodash": "^4.17.5",
"@types/mocha": "^10.0.7",
"@types/node-fetch": "^2.6.11",
"fake-eggs": "^6.5.3",
"flow-bin": "^0.238.2",
"goodeggs-test-helpers": "^8.3.2",
"leasot": "^13.3.0",
"mocha": "10.5.2",
"nock": "13.5.4",
"nyc": "^15.1.0",
"typescript": "^4.3.5"
},
"scripts": {
"build": "yarn run build:clean && yarn run build:transpile && yarn run build:types",
"build:clean": "rm -rf lib",
"build:types": "tsc --project tsconfig.declarations.json",
"build:transpile": "babel --extensions=.ts,.js,.jsx,.tsx src --out-dir lib --copy-files",
"lint": "yarn run lint:es",
"lint:es": "getk run lint-es",
"lint:fix": "yarn run lint:fix:es",
"lint:fix:es": "getk run fix-es",
"prepublishOnly": "yarn run build",
"postversion": "git push --follow-tags",
"tdd": "yarn run test:mocha --watch",
"test": "yarn run todos && yarn run lint && yarn run typecheck && yarn run test:mocha:coverage",
"test:mocha": "yarn run test:mocha:glob 'src/**/{,*.}test.ts'",
"test:mocha:coverage": "yarn run nyc --report-dir=coverage --temp-directory=coverage/.nyc_output --reporter=lcov --reporter=text-summary yarn run test:mocha",
"test:mocha:glob": "NODE_ENV=test yarn run mocha --require @babel/polyfill --require .register.js --extension ts",
"todos": "yarn run todos:glob '**/*.{js,jsx,ts,tsx}'",
"todos:glob": "leasot --exit-nicely --ignore='node_modules/**','lib/**'",
"typecheck": "tsc"
}
}