forked from graphql/swapi-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.67 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.67 KB
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
{
"name": "swapi-graphql",
"description": "A GraphQL wrapper for swapi.com",
"contributors": [
"Nicholas Schrock <schrockn@fb.com>",
"Daniel Schafer <dschafer@fb.com>"
],
"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"
},
"options": {
"mocha": "--require scripts/mocha-bootload src/**/__tests__/*.js"
},
"babel": {
"optional": [
"runtime",
"es7.asyncFunctions"
]
},
"browserify": {
"transform": [
"babelify"
]
},
"browserify-shim": {
"react": "global:React"
},
"scripts": {
"test": "npm run lint && npm run check && npm run testonly",
"start": "npm run download && babel-node src/cloud/main.js",
"deploy": "npm run build && cd lib && parse deploy",
"watch": "babel scripts/watch.js | node",
"testonly": "mocha $npm_package_options_mocha",
"lint": "eslint 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": "npm run download && npm run build-cloud && npm run build-config && npm run build-public",
"download": "if [ ! -f src/api/cachedData/cache.js ]; then echo 'Downloading cache...' && node src/api/cachedData/downloadCache.js > src/api/cachedData/cache.js && echo 'Cached!'; fi;",
"build-cloud": "mkdir -p lib/cloud && browserify -p ./scripts/parseify.js node_modules/babel/polyfill src/cloud/main.js > lib/cloud/main.js",
"build-config": "mkdir -p lib/config && cp src/config/* lib/config/",
"build-public": "mkdir -p lib/public && cp src/public/* lib/public/"
},
"dependencies": {
"babel-runtime": "5.8.34",
"dataloader": "1.1.0",
"express": "4.13.4",
"express-graphql": "0.4.13",
"graphql": "0.4.18",
"graphql-relay": "0.3.6",
"isomorphic-fetch": "2.2.1",
"react": "0.14.7"
},
"devDependencies": {
"babel": "^5.8.3",
"babel-core": "^5.8.3",
"babel-eslint": "^4.0.5",
"babelify": "^6.1.1",
"browserify": "^13.0.0",
"browserify-shim": "^3.8.10",
"chai": "^3.0.0",
"chai-subset": "^1.0.1",
"coveralls": "^2.11.2",
"eslint": "^0.24.0",
"eslint-plugin-react": "^3.2.2",
"flow-bin": "^0.22.1",
"isparta": "^3.0.3",
"mocha": "^2.2.5",
"sane": "^1.1.3"
}
}