-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.24 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
{
"name": "ctzen",
"version": "0.1.0",
"private": true,
"dependencies": {
"@smooth-ui/core-sc": "^10.1.0",
"@types/jest": "^24.0.11",
"@types/node": "^12.6.2",
"@types/react": "^16.8.14",
"@types/react-dom": "^16.8.4",
"@types/relay-runtime": "^5.0.1",
"@types/styled-components": "^4.1.14",
"cookie-session": "^1.3.3",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"express": "^4.17.1",
"express-graphql": "^0.8.0",
"farce": "^0.2.8",
"found": "^0.4.4",
"found-relay": "^0.4.0-alpha.8",
"get-graphql-schema": "^2.1.2",
"graphql": "^14.3.1",
"graphql-list-fields": "^2.0.2",
"graphql-tag": "^2.10.1",
"graphql-type-json": "^0.3.0",
"ml-distance": "^3.0.0",
"pg": "^7.11.0",
"pg-hstore": "^2.3.2",
"react": "^16.8.6",
"react-app-rewired": "^2.1.3",
"react-dom": "^16.8.6",
"react-relay": "^5.0.0",
"react-scripts": "3.0.1",
"react-test-renderer": "^16.8.6",
"relay-compiler-language-typescript": "^4.3.0",
"relay-runtime": "^5.0.0",
"relay-test-utils": "^5.0.0",
"sequelize": "^5.8.7",
"sequelize-cli": "^5.4.0",
"styled-components": "^4.2.0",
"typescript": "^3.4.5"
},
"scripts": {
"start": "./node_modules/.bin/npm-run-all --parallel watch:server start:web",
"start:server": "node src/server/server.js",
"watch:server": "nodemon --watch src/server src/server/server.js",
"start:web": "react-app-rewired start",
"build": "react-app-rewired build",
"setuptest:server": "NODE_ENV=test yarn run sequelize db:create && NODE_ENV=test yarn run sequelize db:migrate",
"test": "react-app-rewired test",
"test:debug": "react-app-rewired --inspect-brk test --runInBand --no-cache",
"eject": "react-scripts eject",
"relay": "get-graphql-schema http://localhost:4000/graphql > ./src/graphql.schema && relay-compiler --src ./src --schema ./src/graphql.schema --language typescript --extensions ts tsx",
"prettier-check": "prettier --check 'src/**/*.{ts,tsx,js,jsx}'",
"prettier-fix": "prettier --write 'src/**/*.{ts,tsx,js,jsx}'",
"prettier": "yarn run prettier-check",
"type-check": "yarn tsc --noEmit"
},
"eslintConfig": {
"extends": "react-app"
},
"prettier": {
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn run type-check"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"yarn run prettier-fix",
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"babel-jest": "24.8.0",
"babel-plugin-relay": "^5.0.0",
"customize-cra": "^0.2.13",
"husky": "^3.0.1",
"lint-staged": "^9.2.0",
"nodemon": "^1.19.1",
"npm-run-all": "^4.1.5",
"prettier": "1.18.2",
"relay-compiler": "^5.0.0"
},
"babel": {
"env": {
"test": {
"plugins": [
"relay"
]
}
}
},
"proxy": "http://localhost:4000"
}