forked from hackforla/VRMS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
29 lines (29 loc) · 1.33 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
{
"name": "vrms-server",
"version": "0.3.0",
"description": "VRMS Server",
"scripts": {
"start": "concurrently \"cd backend && npm run start\" \"cd client && npm run start\"",
"mvp": "concurrently \"cd backend && npm run start\" \"cd client-mvp-04 && npm run start\"",
"dev:api": "cd backend && npm run dev",
"dev:client": "cd client && npm run start",
"dev": "dotenv -e backend/.env -e client/.env concurrently \"npm run dev:api\" \"npm run dev:client\"",
"cy:open": "dotenv -e client/.env -- cross-var cross-env CYPRESS_baseUrl=%CLIENT_URL% cypress open",
"cy:run": "dotenv -e client/.env -- cross-var cross-env CYPRESS_baseUrl=%CLIENT_URL% cypress run --headed",
"test:cy": "dotenv -e ./backend/.env -e ./client/.env cross-var start-test dev:api %BACKEND_PORT% dev:client %CLIENT_PORT% cy:run",
"test:backend": "cd backend && npm run test",
"test:client": "cd client && npm run test",
"test:client-mvp": "cd client-mvp-04 && npm run test",
"test:all": "cross-env NODE_ENV=test npm run test:client && npm run test:client-mvp && npm run test:backend && npm run test:cy"
},
"dependencies": {
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"cross-var": "^1.1.0",
"dotenv-cli": "^3.2.0"
},
"devDependencies": {
"cypress": "^5.0.0",
"start-server-and-test": "^1.11.3"
}
}