-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
89 lines (89 loc) · 4.65 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
{
"name": "doughnut",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/nerds-odd-e/doughnut.git",
"author": "Terry Yin <terry.yinzhe@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=22",
"pnpm": ">=9.12.3"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "syncpack fix-mismatches",
"start:mb": "mb",
"frontend:build": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend build",
"frontend:format_build": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend format && pnpm -C frontend build",
"frontend:format": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend format",
"frontend:lint": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend lint",
"frontend:test": "pnpm --frozen-lockfile --silent recursive install && pnpm frontend:format && pnpm -C frontend test",
"frontend:test:watch": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend test:watch",
"frontend:verify": "pnpm frontend:test && pnpm frontend:build",
"frontend:sut": "pnpm --frozen-lockfile --silent recursive install && pnpm -C frontend dev",
"backend:format": "backend/gradlew -p backend spotlessApply",
"backend:lint": "backend/gradlew -p backend lint",
"backend:test": "pnpm backend:format && backend/gradlew -p backend migrateTestDB -Dspring.profiles.active=test && backend/gradlew -p backend test -Dspring.profiles.active=test --build-cache --parallel",
"backend:verify": "pnpm backend:test",
"backend:build": "backend/gradlew -p backend build -x test --build-cache --parallel",
"backend:prod_build": "backend/gradlew -p backend build -x test -Dspring.profiles.active=prod --build-cache --parallel",
"backend:generateOpenAPIDocs": "backend/gradlew -p backend generateOpenAPIDocs -Dspring.profiles.active=test --build-cache",
"openAPIToTypeScript": "pnpx openapi-typescript-codegen -i ./open_api_docs.yaml -o ./frontend/src/generated/backend -c fetch --name DoughnutApi ",
"generateTypeScript": "pnpm --frozen-lockfile --silent install && pnpm backend:generateOpenAPIDocs && pnpm openAPIToTypeScript",
"cy:format": "pnpm --frozen-lockfile --silent install && pnpm biome check --write .",
"cy:lint": "pnpm --frozen-lockfile --silent install && pnpm biome check .",
"cy:open": "cypress open --e2e",
"cy:run": "cypress run --config-file e2e_test/config/ci.ts",
"cy:run-on-sut": "wait-on tcp:9081 && pnpm cy:run",
"sut": "backend/gradlew -p backend bootRunE2E --build-cache",
"open": "pnpm --frozen-lockfile --silent recursive install && pnpm format:all && pnpm frontend:build && run-p -clnr sut cy:open",
"test": "pnpm --frozen-lockfile --silent recursive install && pnpm frontend:build && run-p -clnr sut start:mb cy:run-on-sut",
"test:open": "pnpm --frozen-lockfile --silent recursive install && pnpm run-p -clnr sut start:mb frontend:sut cy:open",
"verify": "pnpm format:all && pnpm test",
"sound": "github_action_sound https://github.com/nerds-odd-e/doughnut/actions",
"lint:all": "pnpm --frozen-lockfile --silent recursive install && pnpm backend:lint && pnpm frontend:lint && pnpm cy:lint",
"format:all": "pnpm --frozen-lockfile --silent recursive install && pnpm backend:format && pnpm frontend:format && pnpm cy:format"
},
"cypress-cucumber-preprocessor": {
"stepDefinitions": "e2e_test/step_definitions/**/*.ts"
},
"devDependencies": {
"@anev/ts-mountebank": "1.8.0",
"@badeball/cypress-cucumber-preprocessor": "^21.0.2",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.3",
"@biomejs/biome": "1.9.4",
"@testing-library/cypress": "10.0.2",
"@types/cypress-cucumber-preprocessor": "^4.0.5",
"@types/jquery": "^3.5.32",
"@types/node": "^22.9.0",
"@types/testing-library__cypress": "^5.0.13",
"cypress": "13.15.2",
"cypress-file-upload": "^5.0.8",
"github_action_sound": "^1.0.5",
"got": "^14.4.4",
"jsdom": "^25.0.1",
"mountebank": "^2.9.1",
"npm-run-all2": "^7.0.1",
"openapi-typescript-codegen": "^0.29.0",
"process": "^0.11.10",
"superagent": "^10.1.1",
"syncpack": "^13.0.0",
"typescript": "5.6.3",
"util": "^0.12.5",
"wait-on": "^8.0.1"
},
"dependencies": {
"@cucumber/cucumber": "^11.0.1"
},
"resolutions": {
"esbuild": "^0.24.0"
},
"pnpm": {
"overrides": {
"ejs@<3.1.7": ">=3.1.7",
"jsonpath-plus@<10.0.0": ">=10.0.0",
"body-parser@<1.20.3": ">=1.20.3"
}
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}