forked from cygnusb2b/fortnight-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.76 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
{
"name": "fortnight-web",
"version": "0.1.0",
"main": "index.js",
"author": "Jacob Bare <[email protected]>",
"license": "MIT",
"scripts": {
"start": "yarn stop && $npm_package_docker_dev_install && $npm_package_docker_dev_up",
"start:local": "PORT=3005 ./node_modules/.bin/nodemon server.js --exec \"./node_modules/.bin/eslint src/server/**/*.js && node\"",
"stop": "$npm_package_docker_dev_down",
"terminal": "if [ \"$(docker inspect -f {{.State.Running}} fortnightweb_app_1 2>/dev/null)\" = true ]; then docker exec -it fortnightweb_app_1 /bin/bash; else printf \"$npm_package_docker_terminal_error\" && exit 1; fi"
},
"docker": {
"terminal": {
"error": "\n\n\t ERROR: Container is not running -- did you 'yarn start'? \n\n"
},
"dev": {
"install": "docker-compose -p fortnightweb run --entrypoint yarn app",
"up": "docker-compose -p fortnightweb up",
"down": "docker-compose -p fortnightweb down"
}
},
"dependencies": {
"apollo-cache-inmemory": "^1.2.2",
"apollo-client": "^2.3.2",
"apollo-link": "^1.2.2",
"apollo-link-error": "^1.0.9",
"apollo-link-http": "^1.5.4",
"dotenv": "^5.0.1",
"express": "^4.16.3",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"helmet": "^3.12.1",
"http-proxy-middleware": "^0.18.0",
"isomorphic-unfetch": "^2.0.0",
"next": "^6.0.3",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-apollo": "^2.1.4",
"react-dom": "^16.4.0",
"reactstrap": "^6.3.0"
},
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.8.2",
"nodemon": "^1.17.5"
}
}