-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 5.39 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 5.39 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "tupaia",
"private": true,
"description": "Monorepo for the Tupaia project, mapping health data across the Pacific",
"homepage": "https://github.com/beyondessential/tupaia",
"bugs": {
"url": "https://github.com/beyondessential/tupaia-backlog/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beyondessential/tupaia.git"
},
"license": "GPL-3.0-or-later",
"author": "Beyond Essential Systems <admin@tupaia.org> (https://bes.au)",
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"build": "yarn workspaces foreach -ptv --jobs unlimited --exclude tupaia run build",
"build:from": "./scripts/bash/buildPackagesByGlob.sh --from",
"build:only": "./scripts/bash/buildPackagesByGlob.sh --only",
"build:nonlegacy": "yarn run build:from \"{admin-panel*,datatrak*,tupaia*,{central,data-table,entity,report,sync,web-config}-server}\"",
"build:internal-dependencies": "./scripts/bash/buildInternalDependencies.sh",
"build:non-internal-dependencies": "./scripts/bash/buildNonInternalDependencies.sh",
"build:admin-panel": "yarn workspace @tupaia/admin-panel build",
"start-dev": "echo Starting default stack tupaia-web && scripts/bash/pm2startInline.sh tupaia-web",
"start-stack": "scripts/bash/pm2startInline.sh",
"download-env-vars": "./scripts/bash/downloadEnvironmentVariables.sh",
"dump-database": "yarn workspace @tupaia/database dump-database --target ../../",
"migrate": "yarn workspace @tupaia/database migrate",
"migrate-create": "yarn workspace @tupaia/database migrate-create",
"migrate-down": "yarn workspace @tupaia/database migrate-down",
"package-json-lint": "npmPkgJsonLint --configFile .npmpackagejsonlintrc.json .",
"refresh-database": "yarn workspace @tupaia/database refresh-database --root ../../",
"test-all": "node ./scripts/node/testAll --silent",
"validate": "./scripts/bash/validate.sh",
"package:build:ts": "cd \"$INIT_CWD\" && tsc -p tsconfig-build.json",
"package:build:ts-watch": "cd \"$INIT_CWD\" && tsc -p tsconfig-build.json --watch",
"package:build:js": "cd \"$INIT_CWD\" && babel src --out-dir dist --source-maps --config-file \"../../babel.config.json\" --copy-files --no-copy-ignored --ignore \"**/__tests__\",\"**/__mocks__\"",
"package:build:js-watch": "cd \"$INIT_CWD\" && babel src --out-dir dist --source-maps --config-file \"../../babel.config.json\" --copy-files --no-copy-ignored --ignore \"**/__tests__\",\"**/__mocks__\" --watch",
"package:build:types": "cd \"$INIT_CWD\" && tsc",
"package:build:vite": "cd \"$INIT_CWD\" && vite build --config \"../../vite.config.js\"",
"package:build:lib": "cd \"$INIT_CWD\" && babel src --out-dir lib --source-maps --config-file \"../../babel.config.json\" --copy-files --no-copy-ignored --ignore \"**/__tests__\",\"**/__mocks__\"",
"package:lint": "cd \"$INIT_CWD\" && eslint .",
"package:test": "cd \"$INIT_CWD\" && jest --maxWorkers=50%",
"package:test:withdb": "cd \"$INIT_CWD\" && yarn workspace @tupaia/database check-test-database-exists && jest --runInBand",
"package:start:backend-start-dev": "cd \"$INIT_CWD\" && LOG_LEVEL=debug ../../scripts/bash/backendStartDev.sh",
"package:start:vite": "cd \"$INIT_CWD\" && vite --config \"../../vite.config.js\"",
"package:start-stack": "scripts/bash/pm2startInline.sh",
"package:storybook:start": "cd \"$INIT_CWD\" && storybook dev -p 6006 -c ../../.storybook",
"package:storybook:build": "cd \"$INIT_CWD\" && storybook build -c .storybook"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@babel/types": "7.25.6",
"@joshwooding/vite-plugin-react-docgen-typescript": "0.3.0"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.27.5",
"@babel/node": "^7.25.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-export-default-from": "^7.24.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/types": "^7.25.6",
"@beyondessential/eslint-config-jest": "^1.0.0",
"@beyondessential/eslint-config-js": "^1.1.1",
"@beyondessential/eslint-config-ts": "^2.0.0",
"@bitwarden/cli": "2025.4.0",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@types/node": "^20.11.1",
"@vitejs/plugin-react": "^4.0.4",
"babel-jest": "^29.7.0",
"babel-preset-react-app": "^10.0.0",
"dotenv": "16.4.5",
"eslint": "^7.32.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-module-resolver": "^1.5.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^0.11.5",
"jest-when": "^3.6.0",
"nodemon": "^2.0.4",
"npm-package-json-lint": "5.1.0",
"pm2": "^6.0.8",
"prettier": "^3.5.1",
"react-docgen-typescript-plugin": "^1.0.8",
"storybook": "^8.2.9",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"vite": "^4.5.14",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-ejs": "^1.6.4"
},
"engines": {
"node": "^20.11.1"
},
"packageManager": "yarn@3.2.1"
}