-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 2.77 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
{
"name": "orlandocc-2018-graphql",
"version": "1.0.0",
"description": "An example full stack GraphQL application using Apollo",
"main": "index.js",
"author": "Eric Nograles <[email protected]>",
"private": true,
"engines": {
"node": "8.9.4"
},
"dependencies": {
"apollo-cache-persist": "^0.1.1",
"apollo-client-preset": "^1.0.6",
"apollo-link-ws": "^1.0.4",
"apollo-server-express": "^1.3.2",
"body-parser": "^1.17.2",
"cors": "^2.8.4",
"dotenv": "^4.0.0",
"express": "^4.15.3",
"glob": "^7.1.2",
"graphql": "^0.12.3",
"graphql-import": "^0.4.1",
"graphql-redis-subscriptions": "^1.4.0",
"graphql-tag": "^2.6.1",
"graphql-tools": "^2.18.0",
"ioredis": "^3.2.2",
"joi": "^13.1.2",
"jsonwebtoken": "^8.2.0",
"lodash": "^4.17.4",
"material-ui": "^1.0.0-beta.36",
"material-ui-icons": "^1.0.0-beta.36",
"moment": "^2.18.1",
"ms": "^2.1.1",
"node-sass": "^4.5.3",
"react": "16.2.0",
"react-apollo": "^2.0.4",
"react-dom": "16.2.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-scripts": "^1.0.13",
"recompose": "^0.26.0",
"roboto-fontface": "^0.9.0",
"subscriptions-transport-ws": "^0.9.5",
"winston": "^2.3.1"
},
"lint-staged": {
"*.js": [
"./node_modules/.bin/prettier --single-quote --write",
"git add"
]
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js",
"^.+\\.(gif|ttf|eot|svg|jpg|jpeg|png)$": "<rootDir>/__mocks__/fileMock.js"
},
"collectCoverageFrom": [
"src/**/*.js",
"api/**/*.js"
]
},
"scripts": {
"build": "react-scripts build",
"heroku-postbuild": "./node_modules/.bin/react-scripts build",
"start": "node index.js",
"develop:api": "./node_modules/.bin/nodemon -e js,json,graphql --watch api --exec \"yarn install && node\" --inspect=0.0.0.0:5858 --nolazy index.js",
"develop:client": "REACT_APP_REDUX_DEBUGGING_ENABLED=true ./node_modules/.bin/react-scripts start",
"swagger:edit": "swagger_swagger_fileName=api/swagger/swagger.yaml swagger project edit -p 3002 --host 0.0.0.0 -s",
"test": "./node_modules/.bin/jest",
"test:watch": "./node_modules/.bin/jest --watchAll",
"prettify:api": "find ./api/**/*.js | xargs ./node_modules/.bin/prettier --write --single-quote",
"prettify:client": "find ./src/**/*.js | xargs ./node_modules/.bin/prettier --write --single-quote",
"precommit": "lint-staged"
},
"devDependencies": {
"enzyme": "^2.9.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.0.2",
"node-mocks-http": "^1.6.4",
"nodemon": "^1.11.0",
"prettier": "^1.5.3",
"react-addons-test-utils": "^15.6.0",
"react-test-renderer": "^15.6.1"
}
}