/
package.json
146 lines (146 loc) · 4.09 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "sources",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"start:watch": "nodemon",
"build-client": "parcel build src/views/index.html --out-dir dist/views/static --public-url ./",
"build-client:watch": "parcel watch src/views/index.html --out-dir dist/views/static --public-url ./",
"build-server": "tsc",
"build-server:watch": "nodemon",
"copy-static-files": "cpx \"src/views/{login.{html,css},*.svg}\" dist/views/static",
"copy-static-files:watch": "cpx \"src/views/{login.{html,css},*.svg}\" dist/views/static --watch",
"copy-graphql-schema": "cpx src/routes/schema.graphql dist/routes",
"copy-graphql-schema:watch": "cpx src/routes/schema.graphql dist/routes --watch",
"dev": "concurrently \"yarn copy-graphql-schema:watch\" \"yarn build-client:watch\" \"yarn build-server:watch\" \"yarn copy-static-files:watch\"",
"build": "yarn build-client && yarn build-server && yarn copy-static-files && yarn copy-graphql-schema",
"test": "NODE_ENV='test' jest --forceExit",
"create-data": "ts-node ./scripts/create-data.ts"
},
"nodemonConfig": {
"watch": [
"src"
],
"ignore": [
"src/views/"
],
"ext": "ts",
"exec": "tsc && node ./bin/www"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"no-debugger": 0
}
},
"stylelint": {
"extends": "stylelint-config-uclaradio"
},
"prettier": {
"editorconfig": true,
"overrides": [
{
"files": "*.{js,jsx,ts,tsx}",
"options": {
"singleQuote": true,
"trailingComma": "es5"
}
}
]
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"moduleFileExtensions": [
"js",
"ts"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"**/src/**/*.test.(js|ts)"
],
"testEnvironment": "node",
"collectCoverage": true,
"coverageReporters": [
"json"
]
},
"dependencies": {
"apollo-cache-inmemory": "^1.1.4",
"apollo-client": "^2.0.4",
"apollo-link-http": "^1.3.2",
"apollo-server-express": "^1.3.2",
"body-parser": "^1.18.2",
"concurrently": "^3.5.1",
"cookie-parser": "^1.4.3",
"cpx": "^1.5.0",
"debug": "^3.1.0",
"dotenv": "^4.0.0",
"express": "^4.16.2",
"glamor": "^2.20.40",
"glamorous": "^4.11.2",
"global": "^4.3.2",
"googleapis": "^23.0.0",
"graphql": "0.12.3",
"graphql-tag": "^2.6.1",
"graphql-tools": "^2.16.0",
"match-sorter": "^2.2.0",
"morgan": "~1.9.0",
"pg": "^7.4.0",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-apollo": "^2.0.4",
"react-contextmenu": "^2.9.2",
"react-dom": "^16.2.0",
"react-modal": "^3.1.10",
"react-table": "^6.7.6",
"sequelize": "^4.28.6"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.1",
"@types/dotenv": "^4.0.2",
"@types/express": "^4.11.0",
"@types/faker": "^4.1.2",
"@types/graphql": "^0.11.7",
"@types/jest": "^22.0.0",
"@types/morgan": "^1.7.35",
"@types/react": "^16.0.34",
"@types/react-dom": "^16.0.3",
"@types/sequelize": "^4.0.80",
"@types/supertest": "^2.0.4",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"codecov": "^3.0.0",
"css-loader": "^0.28.8",
"faker": "^4.1.0",
"husky": "^0.14.3",
"jest": "^22.0.4",
"lint-staged": "^6.0.0",
"node-sass": "^4.7.2",
"nodemon": "^1.14.3",
"parcel-bundler": "~1.2.1",
"prettier": "^1.9.2",
"style-loader": "^0.19.1",
"stylelint": "^8.4.0",
"stylelint-config-uclaradio": "^1.0.7",
"supertest": "^3.0.0",
"ts-jest": "^22.0.0",
"ts-node": "^4.1.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"tslint-eslint-rules": "^4.1.1",
"tslint-microsoft-contrib": "^5.0.1",
"tslint-react": "^3.3.3",
"tsutils": "^2.14.0",
"typescript": "^2.6.2"
}
}