This repository has been archived by the owner on Mar 13, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
150 lines (150 loc) · 5.63 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
147
148
149
150
{
"name": "george",
"version": "1.0.0",
"main": "index.tsx",
"author": "Marcelo Cardoso",
"license": "MIT",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"scripts": {
"build": "rimraf dist && webpack --config webpack.config.js && tsc --p tsconfig.server.json ",
"build:docs": "cd docs && rimraf .docusaurus && npm run build",
"start:client": "webpack-dev-server --progress",
"start:client:wait": "wait-on tcp:${SERVER_PORT:-4000} && npm run start:client",
"start:docs": "cd docs && rimraf .docusaurus && npm start",
"start:redis": "docker run --name george_redis -d -p 6379:6379 redis:5",
"stop:redis": "docker stop george_redis",
"start:postgres": "docker run --name george_postgres -d -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:11",
"stop:postgres": "docker stop george_postgres",
"gen:client": "wait-on tcp:${SERVER_PORT:-4000} && graphql-codegen --config codegen-client.yml",
"gen:server": "wait-on tcp:${SERVER_PORT:-4000} && graphql-codegen --config codegen-server.yml",
"gen": "npm run gen:server && npm run gen:client",
"start:server": "nodemon",
"e2e": "cypress run --spec \"e2e/integration/home.js\"",
"e2e:wait": "wait-on tcp:${SERVER_PORT:-4000} && cypress run --spec \"e2e/integration/home.js\"",
"test-client": "jest \"(/__tests__/.*|(\\.|/)(client))\\.tsx?$\" --coverage",
"test-client:watch": "npm run test-client --watch",
"test-server": "jest \"(/__tests__/.*|(\\.|/)(server))\\.tsx?$\" --coverage",
"test-server:wait": "wait-on tcp:${SERVER_PORT:-4000} && npm run test-server",
"test-server:alone": "concurrently --kill-others --success first \"npm run start:server\" \"npm run test-server:wait\"",
"start": "cross-env NODE_ENV=development concurrently \"npm run start:server\" \"npm run start:client:wait\"",
"start-with-e2e": "cross-env concurrently NODE_ENV=development \"npm run start:server\" \"npm run client:wait\" \"npm run e2e:wait\" ",
"doc-init": "docusaurus-init",
"launch": "cross-env NODE_ENV=production node -r dotenv/config ./dist/server/index.js",
"predeploy": "cd docs && npm install && npm run build",
"deploy": "sh docsdeploy.sh"
},
"devDependencies": {
"@apollo/react-testing": "^3.1.3",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@graphql-codegen/cli": "^1.13.1",
"@graphql-codegen/typescript-resolvers": "^1.13.5",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@types/apollo-upload-client": "^8.1.3",
"@types/bcrypt": "^3.0.0",
"@types/connect-redis": "^0.0.13",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.2",
"@types/express-session": "^1.15.16",
"@types/graphql": "^14.5.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^24.0.23",
"@types/johnny-five": "^1.3.0",
"@types/mosca": "^2.8.1",
"@types/node": "^12.12.14",
"@types/pg": "^7.11.2",
"@types/react": "^16.9.15",
"@types/react-dom": "^16.9.4",
"@types/react-router": "^5.1.3",
"@types/react-router-dom": "^5.1.3",
"@types/reflect-metadata": "^0.1.0",
"@types/uuid": "^8.0.0",
"concurrently": "^5.0.0",
"cross-env": "^6.0.3",
"css-loader": "^3.2.1",
"cypress": "^3.7.0",
"docusaurus-init": "^1.14.1",
"file-loader": "^5.0.2",
"gh-pages": "^3.1.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.9.0",
"jest-transform-stub": "^2.0.0",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"node-sass": "^4.13.1",
"nodemon": "^2.0.1",
"react-hot-loader": "^4.12.18",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"source-map-loader": "^0.2.4",
"style-loader": "^1.0.1",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.5.4",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^4.1.0",
"typescript": "3.7.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"wait-on": "^3.3.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"dependencies": {
"@fluentui/react-northstar": "^0.48.0",
"@graphql-codegen/typescript": "^1.13.1",
"@graphql-codegen/typescript-operations": "^1.13.1",
"@graphql-codegen/typescript-react-apollo": "^1.13.1",
"@types/node-fetch": "^2.5.4",
"apollo-cache-inmemory": "^1.6.3",
"apollo-client": "^2.6.4",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-server-express": "^2.9.13",
"apollo-upload-client": "^12.1.0",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"connect-redis": "^5.0.0",
"cors": "^2.8.5",
"date-fns": "^2.8.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"fast-json-stable-stringify": "^2.0.0",
"graphql": "^14.5.8",
"graphql-code-generator": "^0.18.2",
"graphql-toolkit": "^0.7.5",
"johnny-five": "^1.3.1",
"mobx": "^5.15.0",
"mobx-react": "^6.1.4",
"mobx-react-router": "^4.1.0",
"mosca": "^2.8.3",
"mqtt": "^3.0.0",
"pg": "^7.14.0",
"pg-hstore": "^2.3.3",
"react": "^16.13.1",
"react-apollo": "^3.1.3",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-toastify": "^6.0.0",
"redis": "^3.0.2",
"reflect-metadata": "^0.1.13",
"remove": "^0.1.5",
"sqlite3": "^4.1.1",
"tslint": "^5.20.1",
"typeorm": "^0.2.25",
"use-onclickoutside": "^0.3.1",
"uuid": "^8.1.0"
}
}