-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 3.44 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 3.44 KB
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
{
"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 ci",
"install:frontend": "cd apps/frontend && npm ci",
"install:e2e": "cd apps/e2e && npm ci",
"install:libs:shared-types": "cd libs/shared-types && npm install",
"install:libs:validation": "cd 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\"",
"start:e2e": "concurrently \"npm run start:backend:e2e\" \"npm run start:frontend:e2e\"",
"start:e2e:stfc": "concurrently \"npm run start:backend:e2e:stfc\" \"npm run start:frontend:e2e\"",
"dev:backend": "cd apps/backend && node ../../copyIfNotExist.js example.development.env .env && npm run dev",
"start:backend:e2e": "cd apps/backend && npm run start:e2e",
"start:backend:e2e:stfc": "cd apps/backend && npm run start:e2e:stfc",
"dev:frontend": "cd apps/frontend && node ../../copyIfNotExist.js example.development.env .env && npm run dev",
"start:frontend:e2e": "cd apps/frontend && npm run preview:e2e",
"generate:shared:types": "cd apps/frontend && npm run generate:local",
"e2e:after:start": "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 start:e2e\"",
"e2e:after:start: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 start: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",
"generate:uows": "cd apps/backend && npm run generate:uows"
},
"keywords": [
"duo",
"swap",
"user-office",
"monorepo"
],
"dependencies": {
"concurrently": "^9.0.1",
"wait-on": "^9.0.1"
},
"devDependencies": {
"@types/react-dom": "^19.2.2",
"husky": "^9.0.10",
"lint-staged": "^16.0.0"
}
}