forked from graphql/swapi-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.98 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
{
"name": "swapi-graphql",
"description": "A GraphQL wrapper for swapi.com",
"contributors": [
"Nicholas Schrock <[email protected]>",
"Daniel Schafer <[email protected]>"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/graphql/swapi-graphql",
"bugs": {
"url": "https://github.com/graphql/swapi-graphql/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/graphql/swapi-graphql.git"
},
"engines": {
"node": ">=6.0.0"
},
"options": {
"mocha": "--require babel-register --require scripts/mocha-bootload src/**/__tests__/*.js"
},
"babel": {
"optional": [
"runtime",
"es7.asyncFunctions"
]
},
"browserify": {
"transform": [
"babelify"
]
},
"browserify-shim": {
"react": "global:React"
},
"scripts": {
"postinstall": "npm run download && npm run build",
"test": "npm run lint && npm run check && npm run testonly",
"start": "node lib/server/main.js",
"watch": "babel scripts/watch.js | node",
"testonly": "mocha $npm_package_options_mocha",
"lint": "eslint src",
"lintfix": "eslint --fix src",
"check": "flow check",
"cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
"coveralls": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"build": "babel src --optional runtime --ignore __tests__,public --out-dir lib/",
"download": "babel-node scripts/download.js cache/data.json",
"build-public": "browserify --standalone Schema -t babelify --outfile public/schema.js src/schema-proxy.js",
"serve-public": "babel-node scripts/serve-public",
"deploy": "scripts/build-public && scripts/deploy-public",
"prettier": "prettier --write 'src/**/*.js'",
"print-schema": "babel-node scripts/print-schema.js"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"cors": "^2.8.4",
"dataloader": "1.4.0",
"express": "^4.16.3",
"express-graphql": "^0.6.12",
"graphql": "0.13.2",
"graphql-relay": "0.5.5"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"babelify": "^8.0.0",
"browserify": "^15.0.0",
"browserify-shim": "^3.8.10",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.19.1",
"eslint-plugin-babel": "5.0.0",
"eslint-plugin-prettier": "^2.6.0",
"flow-bin": "^0.69.0",
"isomorphic-fetch": "2.2.1",
"isparta": "^4.0.0",
"mocha": "^5.0.5",
"prettier": "^1.11.1",
"sane": "^2.5.0"
}
}