-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
120 lines (120 loc) · 3.43 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "family-tree",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"betterScripts": {
"dev": {
"command": "nodemon src/server --exec babel-node --presets=env -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",
"env": {
"NODE_ENV": "production"
}
},
"build:data": {
"command": "babel src/data -d dist/data --presets=env",
"env": {
"NODE_ENV": "production"
}
},
"build:db": {
"command": "npm run seed",
"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 && bnr build:db",
"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",
"migrate": "babel-node --presets=env node_modules/.bin/knex migrate:latest",
"seed": "npm run migrate && babel-node --presets=env node_modules/.bin/knex seed:run"
},
"dependencies": {
"apollo-client": "^1.9.2",
"babel-cli": "^6.24.1",
"babel-plugin-istanbul": "next",
"babel-polyfill": "^6.23.0",
"better-npm-run": "^0.0.15",
"body-parser": "^1.17.2",
"copy-webpack-plugin": "^4.0.1",
"enzyme": "^2.8.2",
"express": "^4.15.2",
"graphiql": "^0.11.2",
"graphql": "^0.10.1",
"graphql-server-express": "^0.8.5",
"graphql-tools": "^1.0.0",
"graphql-type-json": "^0.1.4",
"html-webpack-plugin": "^2.28.0",
"knex": "^0.13.0",
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-apollo": "^1.4.15",
"react-dom": "^15.6.1",
"react-redux": "^5.0.5",
"react-router-dom": "^4.1.1",
"redux": "^3.6.0",
"redux-form": "^7.0.1",
"redux-thunk": "^2.2.0",
"sqlite3": "^3.1.8",
"styled-components": "^2.1.0",
"webpack": "^2.3.2",
"webpack-dev-middleware": "^1.10.1",
"webpack-hot-middleware": "^2.17.1",
"webpack-merge": "^4.1.0"
},
"devDependencies": {
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.5.1",
"babel-preset-react": "^6.23.0",
"enzyme-to-json": "^1.5.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1",
"file-loader": "^0.11.2",
"image-webpack-loader": "^3.3.1",
"jest": "^20.0.4",
"jest-styled-components": "^3.1.5",
"json-loader": "^0.5.4",
"mkdirp": "^0.5.1",
"nodemon": "^1.11.0",
"react-hot-loader": "3.0.0-beta.6",
"react-test-renderer": "^15.4.2",
"redux-mock-store": "^1.2.3",
"rimraf": "^2.6.1"
}
}