-
Notifications
You must be signed in to change notification settings - Fork 506
/
package.json
103 lines (103 loc) · 3.47 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"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/facebook/dataloader",
"bugs": {
"url": "https://github.com/facebook/dataloader/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/facebook/dataloader.git"
},
"main": "index.js",
"typings": "index.d.ts",
"options": {
"mocha": "--require resources/mocha-bootload src/**/__tests__/**/*.js"
},
"babel": {
"plugins": [
"transform-async-to-generator",
"transform-regenerator",
"transform-class-properties",
"transform-flow-strip-types",
"transform-es2015-template-literals",
"transform-es2015-literals",
"transform-es2015-function-name",
"transform-es2015-arrow-functions",
[
"transform-es2015-classes",
{
"loose": true
}
],
"transform-es2015-shorthand-properties",
[
"transform-es2015-spread",
{
"loose": true
}
],
"transform-es2015-parameters",
"transform-es2015-block-scoping",
[
"transform-es2015-destructuring",
{
"loose": true
}
]
]
},
"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": "6.26.0",
"babel-eslint": "8.2.1",
"babel-plugin-transform-async-to-generator": "6.24.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-arrow-functions": "6.22.0",
"babel-plugin-transform-es2015-block-scoping": "6.26.0",
"babel-plugin-transform-es2015-classes": "6.24.1",
"babel-plugin-transform-es2015-destructuring": "6.23.0",
"babel-plugin-transform-es2015-function-name": "6.24.1",
"babel-plugin-transform-es2015-literals": "6.22.0",
"babel-plugin-transform-es2015-parameters": "6.24.1",
"babel-plugin-transform-es2015-shorthand-properties": "6.24.1",
"babel-plugin-transform-es2015-spread": "6.22.0",
"babel-plugin-transform-es2015-template-literals": "6.22.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-regenerator": "6.26.0",
"chai": "4.1.2",
"coveralls": "3.0.0",
"eslint": "4.16.0",
"flow-bin": "0.64.0",
"isparta": "4.0.0",
"mocha": "5.0.0",
"sane": "2.3.0"
}
}