-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
87 lines (87 loc) · 4.16 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": "tupaia",
"private": true,
"description": "Mono-repo 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://beyondessential.com.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",
"build:web-frontend": "yarn workspace @tupaia/web-frontend build",
"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: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:react-scripts": "cd $INIT_CWD && SKIP_PREFLIGHT_CHECK=true GENERATE_SOURCEMAP=false react-scripts build",
"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 && DB_NAME=tupaia_test jest --runInBand",
"package:start:react-scripts": "cd $INIT_CWD && SKIP_PREFLIGHT_CHECK=true react-scripts start",
"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:eject": "cd $INIT_CWD && react-scripts eject"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^4.18.0",
"react-native-qrcode-scanner/react-native-permissions": "^3.6.1"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.18.10",
"@beyondessential/eslint-config-jest": "^1.0.0",
"@beyondessential/eslint-config-js": "^1.1.1",
"@beyondessential/eslint-config-ts": "^1.3.2",
"@vitejs/plugin-react": "^4.0.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"concurrently": "^5.2.0",
"cypress-dotenv": "^1.2.2",
"dotenv": "^16.0.3",
"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": "^27.0.6",
"jest-extended": "^0.11.5",
"jest-when": "^2.7.2",
"nodemon": "^2.0.4",
"npm-package-json-lint": "5.1.0",
"react-scripts": "4.0.3",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"typescript": "^4.2.0",
"vite": "^4.4.8",
"vite-plugin-ejs": "^1.6.4"
},
"engines": {
"node": "^14.19.3"
},
"packageManager": "yarn@3.2.1"
}