forked from cypress-io/cypress-realworld-app
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
173 lines (173 loc) · 5.34 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "cypress-realworld-app",
"version": "1.0.0",
"description": "A payment application to demonstrate **real-world** usage of Cypress testing methods, patterns, and workflows. For a full reference of our documentation, go to https://docs.cypress.io",
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress-realworld-app.git"
},
"author": "Cypress DX Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/cypress-io/cypress-realworld-app/issues"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@babel/cli": "7.12.10",
"@babel/core": "7.12.10",
"@babel/preset-env": "7.12.11",
"@material-ui/core": "4.11.2",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.57",
"@types/bcryptjs": "2.4.2",
"@types/bluebird": "3.5.33",
"@types/connect-flash": "0.0.36",
"@types/cors": "2.8.9",
"@types/dinero.js": "1.6.5",
"@types/express": "4.17.2",
"@types/express-paginate": "1.0.0",
"@types/express-serve-static-core": "4.17.2",
"@types/express-session": "1.17.0",
"@types/faker": "5.1.4",
"@types/jest": "26.0.19",
"@types/json-server": "0.14.2",
"@types/lodash": "4.14.165",
"@types/lowdb": "1.0.9",
"@types/morgan": "1.9.2",
"@types/node": "14.14.6",
"@types/passport": "1.0.4",
"@types/react": "16.14.2",
"@types/react-dom": "16.9.10",
"@types/react-infinite-calendar": "2.3.5",
"@types/react-router": "5.1.8",
"@types/react-router-dom": "5.1.6",
"@types/react-virtualized": "9.21.10",
"@types/shortid": "0.0.29",
"@types/uuid": "8.3.0",
"@types/validator": "13.1.1",
"@types/webpack-env": "1.16.0",
"@types/yup": "0.29.11",
"@xstate/react": "0.8.1",
"axios": "0.21.1",
"bcryptjs": "2.4.3",
"concurrently": "5.3.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
"date-fns": "2.16.1",
"dinero.js": "1.8.1",
"dotenv": "8.2.0",
"express-paginate": "1.0.2",
"express-session": "1.17.1",
"express-validator": "6.8.0",
"faker": "5.1.0",
"formik": "2.2.6",
"fuse.js": "6.4.3",
"json": "10.0.0",
"lowdb": "1.0.0",
"morgan": "1.10.0",
"ncp": "2.0.0",
"nodemon": "2.0.6",
"passport": "0.4.1",
"passport-local": "1.0.0",
"react": "^16.8.0",
"react-dom": "16.8.0",
"react-infinite-calendar": "2.3.1",
"react-number-format": "4.4.1",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.0",
"react-virtualized": "9.22.2",
"shortid": "2.2.16",
"ts-node": "9.1.0",
"typescript": "4.0.5",
"uuid": "8.3.2",
"xstate": "4.15.1",
"yup": "0.32.8"
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.2",
"@cypress/instrument-cra": "1.4.0",
"@types/connect-history-api-fallback": "1.3.3",
"@types/http-proxy-middleware": "0.19.3",
"babel-loader": "8.0.6",
"eslint": "6.8.0",
"eslint-plugin-cypress": "2.11.2",
"istanbul-lib-coverage": "3.0.0",
"nyc": "15.1.0",
"start-server-and-test": "1.11.6"
},
"resolutions": {
"@babel/compat-data": "7.9.0",
"@types/express": "4.17.2",
"@types/express-serve-static-core": "4.17.2"
},
"scripts": {
"dev": "cross-env NODE_ENV=development concurrently npm:start:react npm:start:api:watch",
"start": "cross-env NODE_ENV=development concurrently npm:start:react npm:start:api",
"start:ci": "cross-env NODE_ENV=test concurrently npm:start:react npm:start:api",
"start:react": "react-scripts -r @cypress/instrument-cra start",
"start:empty": "cross-env NODE_ENV=development EMPTY_SEED=true concurrently npm:start:react npm:start:api:watch",
"list:dev:users": "cat data/database.json | json -a users | json -a id username",
"types": "tsc --noEmit",
"test:unit": "react-scripts test --runInBand",
"test:unit:ci": "react-scripts test --watch false --runInBand",
"start:api": "npm run tsnode --files backend/app.ts",
"start:api:watch": "nodemon --exec npm run tsnode --watch 'backend' backend/app.ts",
"start:react:proxy-server": "npm run tsnode scripts/testServer.ts",
"tsnode": "nyc --silent ts-node -P tsconfig.tsnode.json",
"tsnode:not-instrumented": "ts-node -P tsconfig.tsnode.json",
"db:seed": "npm run tsnode scripts/generateSeedData",
"db:seed:dev": "ncp ./data/database-seed.json ./data/database.json",
"db:seed:empty": "ncp ./data/empty-seed.json ./data/database.json",
"postdb:seed": "npm run db:seed:dev",
"prestart": "npm run db:seed:dev",
"predev": "npm run db:seed:dev",
"prestart:empty": "npm run db:seed:empty",
"prebuild": "npm run types",
"build": "react-scripts build"
},
"eslintConfig": {
"env": {
"cypress/globals": true
},
"extends": [
"react-app",
"plugin:cypress/recommended"
],
"plugins": [
"cypress"
],
"rules": {
"no-unused-expressions": 0
}
},
"jest": {
"watchPathIgnorePatterns": [
"<rootDir>/data/database.json",
"<rootDir>/data/database-seed.json"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"nyc": {
"exclude": [
"src/models/*.ts"
],
"reporter": [
"html",
"json"
]
}
}