-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 2.37 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
{
"name": "global-shell",
"version": "1.0.0",
"description": "",
"license": "BSD-3-Clause",
"private": true,
"scripts": {
"build": "d2-app-scripts build",
"start": "d2-app-scripts start",
"test": "d2-app-scripts test",
"deploy": "D2_PASSWORD=district d2-app-scripts deploy http://localhost:8080 --username admin",
"postinstall": "patch-package",
"bd": "yarn build && yarn deploy",
"del-adapter": "rm -rf node_modules/@dhis2/app-adapter/build",
"del-pwa": "rm -rf node_modules/@dhis2/pwa/build",
"del-headerbar": "rm -rf node_modules/@dhis2-ui/header-bar/build",
"del-offline": "rm -rf node_modules/@dhis2/app-service-offline/build",
"del-plugin": "rm -rf node_modules/@dhis2/app-service-plugin/build",
"del-nm-cache": "rm -rf .d2/shell/node_modules/.cache",
"cp-adapter": "cp -r ../app-platform/adapter/build node_modules/@dhis2/app-adapter/build",
"cp-pwa": "cp -r ../app-platform/pwa/build node_modules/@dhis2/pwa/build",
"cp-headerbar": "cp -r ../ui/components/header-bar/build node_modules/@dhis2-ui/header-bar/build",
"cp-offline": "cp -r ../app-runtime/services/offline/build node_modules/@dhis2/app-service-offline/build",
"cp-plugin": "cp -r ../app-runtime/services/plugin/build node_modules/@dhis2/app-service-plugin/build",
"import-adapter": "yarn del-adapter && yarn del-nm-cache && yarn cp-adapter && yarn patch-package @dhis2/app-adapter",
"import-pwa": "yarn del-pwa && yarn del-nm-cache && yarn cp-pwa && yarn patch-package @dhis2/pwa",
"import-headerbar": "yarn del-headerbar && yarn del-nm-cache && yarn cp-headerbar && yarn patch-package @dhis2-ui/header-bar",
"import-plugin": "yarn del-plugin && yarn del-nm-cache && yarn cp-plugin && yarn patch-package @dhis2/app-service-plugin",
"import-offline": "yarn del-offline && yarn del-nm-cache && yarn cp-offline"
},
"devDependencies": {
"@dhis2/cli-app-scripts": "^12.3.0",
"@dhis2/cli-style": "^10.7.6",
"@types/react": "^19.0.10",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"typescript": "^5.7.3"
},
"dependencies": {
"@dhis2/app-runtime": "^3.14.0",
"@dhis2/pwa": "^12.3.0",
"@dhis2/ui": "^10.1.13",
"react-router-dom": "^6.22.0"
}
}