-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
62 lines (62 loc) · 2.08 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
{
"name": "fortnight-web",
"version": "1.0.3",
"main": "index.js",
"author": "Jacob Bare <[email protected]>",
"license": "MIT",
"scripts": {
"test": "./node_modules/.bin/eslint src/**/*.js",
"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.6",
"apollo-client": "^2.3.7",
"apollo-link": "^1.2.2",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"apollo-server-express": "^2.0.0",
"dotenv": "^5.0.1",
"envalid": "^4.1.4",
"express": "^4.16.3",
"graphql": "^0.13.2",
"graphql-tag": "^2.9.2",
"graphql-tools": "^3.1.1",
"handlebars": "^4.0.11",
"helmet": "^3.13.0",
"isomorphic-unfetch": "^2.1.1",
"moment": "^2.19.1",
"newrelic": "^6.3.0",
"next": "6.1.1-canary.4",
"prop-types": "^15.6.2",
"react": "^16.4.2",
"react-apollo": "^2.1.9",
"react-dom": "^16.4.2",
"react-moment": "^0.7.9",
"react-share": "^2.2.0",
"react-visibility-sensor": "^3.11.1",
"reactstrap": "^6.3.1",
"validator": "^10.5.0"
},
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"nodemon": "^1.18.3"
}
}