Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.8 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
78
79
{
"name": "swapi-graphql",
"description": "A GraphQL wrapper for swapi.tech",
"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"
},
"engines": {
"node": ">=20.0.0"
},
"browserify": {
"transform": [
"babelify"
]
},
"browserify-shim": {
"react": "global:React"
},
"scripts": {
"postinstall": "npm run download && npm run build",
"watch": "netlify dev",
"start": "netlify build",
"test": "npm run lint && npm run check && npm run test:only",
"test:only": "jest",
"lint": "eslint src/** handler/**",
"lint:fix": "eslint --fix src handler/**",
"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": "rimraf lib && babel src --ignore __tests__,public,handler --out-dir lib/",
"download": "babel-node scripts/download.js cache/data.json",
"serve-public": "babel-node scripts/serve-public",
"prettier": "prettier --write 'src/**/*.{js,html}'",
"print-schema": "babel-node scripts/print-schema.js",
"store-schema": "babel-node scripts/store-schema.js"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"dataloader": "2.2.3",
"graphql": "16.11.0",
"graphql-http": "^1.22.4",
"graphql-relay": "0.10.2"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^30.0.4",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-syntax-object-rest-spread": "^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.7.0",
"babel-register": "^6.26.0",
"coveralls": "^3.1.1",
"eslint": "^9.31.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-prettier": "^5.5.1",
"flow-bin": "^0.275.0",
"isomorphic-fetch": "3.0.0",
"isparta": "^4.1.1",
"jest": "^30.0.4",
"netlify-cli": "^22.3.0",
"prettier": "^3.6.2",
"sane": "^5.0.1"
},
"packageManager": "yarn@4.4.1+sha512.f825273d0689cc9ead3259c14998037662f1dcd06912637b21a450e8da7cfeb4b1965bbee73d16927baa1201054126bc385c6f43ff4aa705c8631d26e12460f1"
}