-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.95 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
{
"name": "intake24",
"version": "1.0.0",
"description": "Intake24 dietary recall system",
"private": true,
"author": "",
"license": "Apache-2.0",
"main": "index.js",
"engines": {
"node": "^14.17.0 || >=16.0.0"
},
"packageManager": "pnpm@7.2.1",
"scripts": {
"preinstall": "npx -y only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"clean": "rimraf **/coverage **/dist **/node_modules",
"build": "pnpm --filter ./apps build",
"db:migrate": "run-s db:foods:migrate 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",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"docs:lint": "prettier --check docs/**/*.md",
"docs:lint:fix": "prettier --write docs/**/*.md",
"lint": "eslint --ext .ts,.vue apps/*/src/**/*.ts apps/*/__tests__/**/*.ts packages/*/src/**/*.ts packages/*/__tests__/**/*.ts",
"lint:fix": "pnpm lint -- --fix",
"test:unit": "jest",
"test:unit:watch": "pnpm test:unit -- --watch",
"test:unit:coverage": "pnpm test:unit -- --coverage",
"test:integration": "pnpm --filter * test:integration",
"test:integration:coverage": "pnpm --filter * test:integration:coverage"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.md": "prettier --write",
"*.{ts,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MRC-Epid-it24/intake24.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/MRC-Epid-it24/intake24/issues"
},
"homepage": "https://docs.intake24.co.uk",
"workspaces": [
"apps/*",
"packages/*"
],
"devDependencies": {
"@jest/types": "^28.1.0",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.36",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"@vue/eslint-config-airbnb": "^6.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.1.0",
"eslint-plugin-vuejs-accessibility": "^1.2.0",
"jest": "^28.1.0",
"jest-extended": "^2.0.0",
"lint-staged": "^13.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"typescript": "^4.7.3",
"vitepress": "^0.22.4",
"webpack": "^5.73.0"
}
}