-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.76 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
{
"name": "intake24",
"type": "module",
"version": "2024.7",
"private": true,
"packageManager": "pnpm@9.12.3",
"description": "Dietary recall system",
"author": "",
"license": "Apache-2.0",
"homepage": "https://docs.intake24.org",
"repository": {
"type": "git",
"url": "git+https://github.com/MRC-Epid-it24/intake24.git"
},
"bugs": {
"url": "https://github.com/MRC-Epid-it24/intake24/issues"
},
"keywords": [
"Intake24",
"Dietary recall system"
],
"engines": {
"node": ">=18.17.0"
},
"scripts": {
"prepare": "pnpm simple-git-hooks",
"clean": "rimraf --glob **/coverage **/dist **/node_modules",
"build": "pnpm --filter ./apps/** build",
"db:migrate": "pnpm db:foods:migrate && pnpm db:system:migrate",
"db:foods:migrate": "pnpm --filter @intake24/db db:foods:migrate",
"db:foods:migrate:undo": "pnpm --filter @intake24/db db:foods:migrate:undo",
"db:system:migrate": "pnpm --filter @intake24/db db:system:migrate",
"db:system:migrate:undo": "pnpm --filter @intake24/db db:system:migrate:undo",
"cli": "pnpm --filter @intake24/cli cli",
"i18n:sync": "pnpm --filter @intake24/i18n i18n:sync",
"docs:dev": "pnpm docs:open-api && vitepress dev docs",
"docs:build": "pnpm docs:open-api && vitepress build docs",
"docs:serve": "pnpm docs:open-api && vitepress serve docs",
"docs:open-api": "pnpm tsx scripts/open-api.ts",
"changelog": "conventional-changelog -p angular",
"release": "pnpm tsx scripts/release.ts",
"lint": "eslint . --fix",
"test": "pnpm test:unit && test:integration",
"test:unit": "pnpm test:unit:apps && pnpm test:unit:pkgs",
"test:unit:apps": "pnpm --filter \"./apps/api\" test:unit",
"test:unit:pkgs": "pnpm --filter \"./packages/{common,common-backend,i18n}\" test:unit",
"test:unit:coverage": "pnpm --filter * test:unit:coverage",
"test:integration": "pnpm --filter ./apps/{api,portal} test:integration",
"test:integration:coverage": "pnpm --filter * test:integration:coverage"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@ts-rest/open-api": "^3.51.0",
"@types/node": "^22.9.0",
"@types/prompts": "^2.4.9",
"calver": "^24.1.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.14.0",
"eslint-plugin-format": "^0.1.2",
"eslint-plugin-vue": "^9.30.0",
"execa": "^5.1.1",
"lint-staged": "^15.2.10",
"picocolors": "^1.1.1",
"prompts": "^2.4.2",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitepress": "^1.5.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm tsx scripts/verify-commit.ts $1"
},
"lint-staged": {
"*": "eslint --fix"
}
}