-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
51 lines (51 loc) · 3.17 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
{
"name": "121-platform",
"author": "121.global",
"homepage": "https://www.121.global/",
"license": "Apache-2.0",
"repository": "github:global-121/121-platform",
"private": true,
"scripts": {
"start": "echo 'See README.md#getting-started \\n\\n'",
"demo": "npx npm-run-all --npm-path npm --print-label --parallel start:all open:all",
"start:all": "npx npm-run-all --npm-path npm --print-label --parallel start:services start:portal",
"logs:services": "cd services/ && docker compose logs --follow",
"start:services": "cd services/ && docker compose --file=docker-compose.yml --file=docker-compose.development.yml up --detach --build",
"start:services:production": "cd services/ && docker compose --file=docker-compose.yml up --detach --build",
"start:services:appmap": "cd services/ && docker compose --file=docker-compose.yml --file=docker-compose.development.yml --file=docker-compose.development-appmap.yml up --detach --build",
"start:portal": "npm start --prefix interfaces/Portal/ -- --port=8888",
"start:portalicious": "npm start --prefix interfaces/Portalicious/ -- --port=8888",
"install:all": "npx npm-run-all --npm-path npm --print-label --sequential install:services install:portal",
"install:services": "cd services/ && docker compose --file=docker-compose.yml build",
"install:portal": "npm ci --prefix=interfaces/Portal/",
"install:portalicious": "npm ci --prefix=interfaces/Portalicious/",
"code:all": "code ./ && npx npm-run-all --npm-path npm --parallel code:121-service code:mock-service code:portal",
"code:portal": "code ./interfaces/Portal/",
"code:portalicious": "code ./interfaces/Portalicious/",
"code:121-service": "code ./services/121-service/",
"code:mock-service": "code ./services/mock-service/",
"test": "echo 'See README.md#testing \\n\\n' && npm run test:all",
"test:all": "npx npm-run-all --npm-path npm --print-label --parallel test:prettier test:portal test:services",
"test:prettier": "npx prettier --config=./.prettierrc.yml --check \"**/*.{md,json,yml,scss}\"",
"test:services": "npx npm-run-all --npm-path npm --print-label --parallel test:121-service test:mock-service",
"test:121-service": "cd services/ && docker compose exec 121-service npm test",
"test:mock-service": "cd services/ && docker compose exec mock-service npm test",
"test:portal": "npm test --prefix=interfaces/Portal/",
"test:portalicious": "npm test --prefix=interfaces/Portalicious/",
"fix:prettier": "npm run test:prettier -- --write",
"fix:121-service": "npm run fix --prefix=services/121-service",
"fix:mock-service": "npm run fix --prefix=services/mock-service",
"fix:portal": "npm run fix --prefix=interfaces/Portal/",
"fix:portalicious": "npm run fix --prefix=interfaces/Portalicious/",
"fix:all": "npx npm-run-all --npm-path npm --parallel fix:prettier fix:121-service fix:mock-service fix:portal fix:portalicious",
"prepare": "husky"
},
"devDependencies": {
"@prettier/plugin-xml": "^3.4.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.5"
}
}