-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4.28 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 4.28 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
111
{
"name": "dhis2-app-skeleton",
"description": "DHIS2 Skeleton App",
"version": "0.0.1",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/dhis2-app-skeleton.git"
},
"dependencies": {
"$": "link:./src",
"@dhis2/app-runtime": "^3",
"@dhis2/d2-i18n": "^1",
"@dhis2/d2-i18n-extract": "^1",
"@dhis2/d2-i18n-generate": "^1",
"@dhis2/ui": "^10",
"@eyeseetea/d2-api": "^1",
"@eyeseetea/d2-ui-components": "^2",
"@eyeseetea/feedback-component": "^0",
"@material-ui/core": "^4",
"@material-ui/icons": "^4",
"@material-ui/styles": "^4",
"d2-manifest": "^1",
"md5.js": ">=1",
"purify-ts": "^1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "5.2.0",
"real-cancellable-promise": ">=1",
"styled-jsx": "^5",
"typed-immutable-map": ">=0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/material-ui": "^0.21.12",
"@types/node": "^20",
"@types/react": "18.2.22",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitejs/plugin-react": "^3.1.0",
"cmd-ts": "^0",
"depcheck": "^1.4.7",
"eslint": "^8.37.0",
"eslint-config-react-app": "7.1.0-next.14",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "^5.11.1",
"eslint-plugin-unused-imports": "^2.0.0",
"expect-type": "^0",
"husky": "^7",
"jsdom": "^21",
"node-stdlib-browser": "^1",
"prettier": "^2",
"source-map-explorer": "^2",
"ts-prune": "^0",
"tsx": "^4.19.3",
"typedoc": "^0",
"typescript": "5.7.3",
"vite": "^4.2.0",
"vite-bundle-visualizer": "^0",
"vite-plugin-checker": "^0.6.2",
"vite-plugin-node-stdlib-browser": "^0.2.1",
"vitest": "^0.32.2"
},
"scripts": {
"build-dependencies-visualizer": "vite-bundle-visualizer",
"check-code": "yarn lint && yarn test",
"generate-docs": "typedoc --entryPointStrategy expand ./src",
"lint": "eslint src",
"lint-unused": "ts-prune --ignore 'ts-utils.ts'",
"lint-all": "yarn lint && yarn lint-unused",
"run-script": "tsx",
"source-map-explorer": "yarn build --sourcemap=true && source-map-explorer --no-border-checks --only-mapped build/assets/*js",
"start": "vite --strictPort",
"test": "yarn test-unit",
"test-unit": "vitest run --reporter=basic",
"test-unit-watch": "vitest watch",
"postinstall": "yarn localize",
"manifest": "d2-manifest package.json build/manifest.webapp",
"build-folder": "rm -rf build/ && d2-manifest package.json manifest.webapp && tsc && vite build --outDir=build && yarn run manifest && cp -r i18n icon.png build",
"build": "yarn localize && VITE_DHIS2_BASE_URL='' VITE_DHIS2_AUTH='' yarn build-folder && rm -f $npm_package_name.zip && cd build && zip --quiet -r ../$npm_package_name.zip *",
"prettify": "prettier \"./**/*.{js,jsx,json,css,ts,tsx}\" --write",
"extract-pot": "yarn d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn update-po && d2-i18n-generate -l -n dhis2-skeleton-app -p ./i18n/ -o ./src/locales/",
"update-po": "yarn extract-pot && find i18n/ -name '*.po' -exec msgmerge --backup=off -U {} i18n/en.pot \\;",
"prepare": "husky install",
"script-example": "yarn run-script src/scripts/example.ts"
},
"manifest.webapp": {
"name": "DHIS2 Skeleton App",
"description": "DHIS2 Skeleton App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "https://www.eyeseetea.com/",
"name": "EyeSeeTea team"
},
"activities": {
"dhis": {
"href": "*"
}
}
}
}