forked from UserOfficeProject/user-office-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 3.26 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
{
"name": "user-office-core",
"description": "This is user office core repository including both backend and frontend.",
"version": "1.0.0",
"type": "commonjs",
"author": "SWAP",
"license": "ISC",
"scripts": {
"test": "concurrently \"npm run test:backend\" \"npm run test:frontend\"",
"test:backend": "cd apps/backend && npm run test",
"test:frontend": "cd apps/e2e && npm run cy:run",
"lint": "concurrently \"npm run lint:backend\" \"npm run lint:frontend\" \"npm run lint:e2e\"",
"lint:fix": "concurrently \"npm run lint:fix:backend\" \"npm run lint:fix:frontend\" \"npm run lint:fix:e2e\"",
"lint:backend": "cd apps/backend && npm run lint",
"lint:fix:backend": "cd apps/backend && npm run lint:fix",
"lint:frontend": "cd apps/frontend && npm run lint",
"lint:fix:frontend": "cd apps/frontend && npm run lint:fix",
"lint:e2e": "cd apps/e2e && npm run lint",
"lint:fix:e2e": "cd apps/e2e && npm run lint:fix",
"build": "concurrently \"npm run build:backend\" \"npm run build:frontend\"",
"build:backend": "cd apps/backend && npm run build",
"build:frontend": "cd apps/frontend && npm run build",
"install:backend": "cd apps/backend && npm install",
"install:frontend": "cd apps/frontend && npm install",
"install:e2e": "cd apps/e2e && npm install",
"install:libs:shared-types": "cd libs/shared-types && npm install",
"install:libs:validation": "cd libs/validation && npm install",
"postinstall": "concurrently \"npm run install:backend\" \"npm run install:frontend\" \"npm run install:e2e\"",
"dev": "concurrently \"npm run dev:backend\" \"wait-on --interval 1000 --timeout 300000 http://127.0.0.1:4000/readiness && npm run dev:frontend\"",
"dev:e2e": "concurrently \"npm run dev:backend:e2e\" \"npm run dev:frontend\"",
"dev:e2e:stfc": "concurrently \"npm run dev:backend:e2e:stfc\" \"npm run dev:frontend\"",
"dev:backend": "cd apps/backend && node ../../copyIfNotExist.js example.development.env .env && npm run dev",
"dev:backend:e2e": "cd apps/backend && npm run dev:e2e",
"dev:backend:e2e:stfc": "cd apps/backend && npm run dev:e2e:stfc",
"dev:frontend": "cd apps/frontend && node ../../copyIfNotExist.js example.development.env .env && npm run dev",
"generate:shared:types": "cd apps/frontend && npm run generate:local",
"e2e:after:dev": "concurrently -k -s first \"wait-on --verbose --interval 5000 --timeout 300000 http://127.0.0.1:4000/readiness && wait-on --verbose --interval 5000 --timeout 300000 tcp:3000 && cd apps/e2e && npm run cy:run:action\" \"npm run dev:e2e\"",
"e2e:after:dev:stfc": "concurrently -k -s first \"wait-on --verbose --interval 5000 --timeout 300000 http://127.0.0.1:4000/readiness && wait-on --verbose --interval 5000 --timeout 300000 tcp:3000 && cd apps/e2e && npm run cy:run:action\" \"npm run dev:e2e:stfc\"",
"generate:sdk": "concurrently -k -s first \"npm run dev:backend\" \"wait-on --timeout 300000 http://127.0.0.1:4000/health && npm run generate:shared:types\"",
"start": "npm run dev",
"prepare": "husky"
},
"keywords": [
"duo",
"swap",
"user-office",
"monorepo"
],
"dependencies": {
"concurrently": "^9.0.1",
"wait-on": "^8.0.0"
},
"devDependencies": {
"husky": "^9.0.10",
"lint-staged": "^15.0.1"
}
}