-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
109 lines (109 loc) · 5.19 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"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": "SEE LICENSE IN LICENSE",
"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: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 .",
"postinstall": "test -n \"$SKIP_BUILD_INTERNAL_DEPENDENCIES\" || yarn build:internal-dependencies",
"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": "^4.18.0",
"@babel/types": "7.25.6"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@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-object-rest-spread": "^7.20.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",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@vitejs/plugin-react": "^4.0.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-preset-react-app": "^10.0.0",
"concurrently": "^5.2.0",
"cypress-dotenv": "^1.2.2",
"dotenv": "16.4.5",
"eslint": "^7.9.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-cypress": "^2.11.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": "^5.3.0",
"react-docgen-typescript-plugin": "^1.0.8",
"storybook": "^8.2.9",
"ts-jest": "^29.1.2",
"ts-node": "^10.7.0",
"typescript": "^5.2.2",
"vite": "^4.5.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-ejs": "^1.6.4",
"yargs": "15.4.1"
},
"engines": {
"node": "^20.11.1"
},
"packageManager": "yarn@3.2.1"
}