-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
62 lines (62 loc) · 2.75 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
{
"version": "3.11.2",
"description": "A singular runtime dependency for applications on the DHIS2 platform",
"repository": "https://github.com/dhis2/app-runtime.git",
"author": "Austin McGee <[email protected]>",
"license": "BSD-3-Clause",
"private": true,
"workspaces": [
"runtime",
"services/*"
],
"devDependencies": {
"@dhis2/cli-app-scripts": "^10.2.0",
"@dhis2/cli-style": "^10.4.3",
"@dhis2/cli-utils-docsite": "^2.0.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.171",
"@types/node": "^13.1.8",
"@types/react": "^16.9.18",
"@types/react-dom": "^16.9.5",
"@types/testing-library__dom": "^7.5.0",
"@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": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12",
"rimraf": "^3.0.0",
"typescript": "^4.0.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)"
}
}
}