-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
59 lines (59 loc) · 2.62 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
{
"version": "3.12.0",
"description": "A singular runtime dependency for applications on the DHIS2 platform",
"repository": "https://github.com/dhis2/app-runtime.git",
"author": "Austin McGee <austin@dhis2.org>",
"license": "BSD-3-Clause",
"private": true,
"workspaces": [
"runtime",
"services/*"
],
"devDependencies": {
"@dhis2/cli-app-scripts": "^12.0.0-alpha.25",
"@dhis2/cli-style": "10.4.3",
"@dhis2/cli-utils-docsite": "^2.0.3",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.171",
"@types/node": "^13.1.8",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"concurrently": "^5.0.2",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-react-hooks": "^4.2.0",
"fake-indexeddb": "^3.1.3",
"idb": "^6.1.3",
"loop": "^3.3.4",
"prop-types": "^15.7.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^3.0.0",
"typescript": "^4.9.5"
},
"scripts": {
"install:examples": "loop \"yarn install --force --check-files\" --cwd ./examples --exit-on-aggregate-error",
"build:playground": "cd examples/query-playground && yarn && PUBLIC_URL=/playground yarn build:standalone && cp -rf build/app ../../dist/playground",
"build:config": "cd services/config && yarn build",
"build:services": "yarn build:config && loop \"yarn build\" --cwd ./services --exclude config --exit-on-error",
"build:runtime": "cd runtime && yarn build",
"build": "yarn build:services && yarn build:runtime && yarn install:examples",
"test:services": "loop \"yarn test\" --cwd ./services --exit-on-error",
"test:runtime": "cd runtime && yarn test",
"test": "yarn test:services && yarn test:runtime",
"format": "d2-style apply js --all --no-stage && d2-style apply text --all --no-stage",
"start": "yarn build && cd examples/query-playground && yarn start",
"docs:build": "mkdir -p dist && cp docs/index.html dist/ && yarn build:playground",
"docs:serve": "d2-utils-docsite serve ./docs -o ./dist",
"lint": "d2-style check js && d2-style check text"
},
"d2": {
"docsite": {
"name": "DHIS2 Application Runtime",
"description": "A singular runtime dependency for applications on the [DHIS2 platform](https://platform.dhis2.nu)"
}
}
}