-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.07 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.07 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
{
"name": "note",
"version": "0.1.0",
"private": true,
"dependencies": {
"apollo-cache-inmemory": "0.2.0-beta.1",
"apollo-client": "^2.2.8",
"apollo-link": "^1.2.2",
"apollo-link-core": "0.5.4",
"apollo-link-http": "^1.5.4",
"apollo-link-ws": "^1.0.8",
"bulma": "^0.5.3",
"graphql-tag": "^2.8.0",
"react": "16.3.2",
"react-apollo": "^2.1.3",
"react-dom": "16.3.2",
"react-scripts": "1.0.13",
"recompose": "^0.25.0",
"styled-components": "^3.1.6",
"subscriptions-transport-ws": "^0.9.8"
},
"scripts": {
"env": "cp .env.template .env",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"intro": "pcregrep -o1 'REACT_APP_API_URL=\"(.*)\"' .env | xargs apollo-codegen introspect-schema --output src/schema/gen.json",
"gen": "grep -LR @client src/* --include \\*.js | xargs apollo-codegen generate --schema src/schema/gen.json --target flow-modern"
},
"devDependencies": {
"apollo-codegen": "^0.19.1"
}
}