-
Notifications
You must be signed in to change notification settings - Fork 506
/
package.json
71 lines (71 loc) · 2.19 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
{
"name": "dataloader",
"version": "1.4.0",
"description": "A data loading utility to reduce requests to a backend via batching and caching.",
"contributors": [
"Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
"Daniel Schafer <dschafer@fb.com>",
"Nicholas Schrock <schrockn@fb.com>"
],
"license": "MIT",
"homepage": "https://github.com/graphql/dataloader",
"bugs": {
"url": "https://github.com/graphql/dataloader/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/graphql/dataloader.git"
},
"main": "index.js",
"typings": "index.d.ts",
"options": {
"mocha": "--require resources/mocha-bootload src/**/__tests__/**/*.js"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"loose": true
}
],
"@babel/preset-flow"
]
},
"scripts": {
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "npm run lint && npm run check && npm run testonly:coveralls",
"lint": "eslint src",
"check": "flow check",
"build": "babel src --ignore __tests__ --out-dir dist/ ; cp src/index.js dist/index.js.flow ; cp src/index.d.ts dist/",
"watch": "babel resources/watch.js | node",
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",
"testonly:cover": "babel-node node_modules/.bin/isparta cover --root src --report html _mocha -- $npm_package_options_mocha",
"testonly:coveralls": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly _mocha -- $npm_package_options_mocha && cat ./coverage/lcov.info | coveralls",
"preversion": ". ./resources/checkgit.sh && npm test",
"prepublish": ". ./resources/prepublish.sh"
},
"files": [
"index.js",
"index.js.flow",
"index.d.ts",
"README.md",
"LICENSE",
"PATENTS"
],
"devDependencies": {
"@babel/cli": "7.7.0",
"@babel/core": "7.7.2",
"@babel/node": "7.7.0",
"@babel/preset-env": "7.7.1",
"@babel/preset-flow": "7.0.0",
"babel-eslint": "10.0.3",
"chai": "4.2.0",
"coveralls": "3.0.7",
"eslint": "6.6.0",
"flow-bin": "0.112.0",
"isparta": "4.1.1",
"mocha": "6.2.2",
"sane": "4.1.0"
}
}