-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.05 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.05 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "apollo-bp",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"betterScripts": {
"dev": {
"command": "nodemon src/server --exec babel-node --presets=env,react -w src/server -w src/data",
"env": {
"NODE_ENV": "development"
}
},
"build:clean": {
"command": "rimraf dist && mkdirp dist/client dist/server"
},
"build:client": {
"command": "webpack",
"env": {
"NODE_ENV": "production"
}
},
"build:server": {
"command": "babel src/server -d dist/server --presets=env,react",
"env": {
"NODE_ENV": "production"
}
},
"build:data": {
"command": "babel src/data -d dist/data --presets=env,react",
"env": {
"NODE_ENV": "production"
}
},
"start": {
"command": "node dist/server",
"env": {
"NODE_ENV": "production"
}
}
},
"scripts": {
"postinstall": "bnr build:clean && bnr build:client && bnr build:server && bnr build:data && cp src/data/artists.json dist/data",
"start": "bnr start",
"dev": "bnr dev",
"build:clean": "bnr build:clean",
"build:client": "bnr build:client",
"build:server": "bnr build:server",
"build:data": "bnr build:data",
"test": "jest --coverage -c .jestrc.json",
"test:watch": "jest --watchAll -c .jestrc.json"
},
"dependencies": {
"apollo-client-preset": "^1.0.8",
"babel-cli": "^6.24.1",
"babel-jest": "^22.4.1",
"body-parser": "^1.17.2",
"copy-webpack-plugin": "^4.5.0",
"express": "^4.15.2",
"graphiql": "^0.11.11",
"graphql": "^0.12.0",
"graphql-server-express": "^1.3.2",
"graphql-tag": "^2.8.0",
"graphql-tools": "^2.21.0",
"jest-dom": "^2.1.0",
"prop-types": "^15.5.10",
"ramda": "^0.25.0",
"react": "^16.2.0",
"react-apollo": "^2.0.4",
"react-dom": "^16.2.0",
"react-redux": "^5.0.5",
"react-router-dom": "^4.2.2",
"redux": "^3.7.2",
"styled-components": "^3.1.6",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12",
"webpack-dev-middleware": "^3.0.1",
"webpack-hot-middleware": "^2.21.2"
},
"devDependencies": {
"babel-core": "^6.24.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.5.1",
"babel-preset-react": "^6.23.0",
"better-npm-run": "^0.0.15",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-import-resolver-webpack": "^0.8.4",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.0.6",
"image-webpack-loader": "^4.1.0",
"jest": "^22.4.2",
"jest-styled-components": "6.2.2",
"json-loader": "^0.5.4",
"mkdirp": "^0.5.1",
"nodemon": "^1.11.0",
"react-hot-loader": "4.0.0",
"react-test-renderer": "^16.2.0",
"react-testing-library": "^5.2.0",
"redux-mock-provider": "^1.0.0",
"redux-mock-store": "^1.2.3",
"rimraf": "^2.6.1",
"webpack-merge": "^4.1.2"
}
}