-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
88 lines (88 loc) · 2.79 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
88
{
"name": "@dhis2/ui-root",
"version": "9.13.0",
"repository": {
"type": "git",
"url": "https://github.com/dhis2/ui.git"
},
"author": "Viktor Varland <viktor@dhis2.org>",
"contributors": [
{
"name": "Jan-Gerke Salomon",
"email": "jan-gerke@dhis2.org"
}
],
"license": "BSD-3-Clause",
"private": true,
"workspaces": {
"packages": [
"collections/*",
"components/*",
"constants",
"icons",
"storybook",
"docs"
]
},
"scripts": {
"setup": "./scripts/setup.js",
"build": "./scripts/build-world.sh",
"build:lib": "./scripts/build.js",
"build:api": "./scripts/generate-api-docs.js",
"cy:start": "yarn build:lib && STORYBOOK_TESTING=1 yarn start",
"cy:open": "wait-on 'http://localhost:5000' && cypress open",
"cy:run": "wait-on 'http://localhost:5000' && cypress run",
"cy:test": "./scripts/cypress.js",
"format": "d2-style apply",
"format:staged": "d2-style apply --staged",
"lint": "d2-style check",
"lint:staged": "d2-style check --staged",
"test": "d2-app-scripts test",
"start": "yarn workspace ui-storybook start",
"start:docs": "yarn workspace ui-docusaurus start"
},
"dependencies": {
"@dhis2/d2-i18n": "^1.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "^5.0.1",
"styled-jsx": "^4.0.1"
},
"peerDependencies": {
"@types/react": ">=16.14.0"
},
"devDependencies": {
"@babel/parser": "^7.17.0",
"@badeball/cypress-cucumber-preprocessor": "^20.0.2",
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"@cypress/webpack-preprocessor": "^6.0.1",
"@dhis2/app-runtime": "^3.11.2",
"@dhis2/cli-app-scripts": "^12.0.0-alpha.19",
"@dhis2/cli-style": "10.4.2",
"@dhis2/cli-utils-docsite": "^3.1.2",
"@dhis2/cypress-commands": "^10.0.5",
"@dhis2/cypress-plugins": "^10.0.5",
"@manypkg/cli": "^0.18.0",
"@svgr/cli": "^5.5.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18",
"ast-types": "^0.14.2",
"concurrently": "^6.2.1",
"cypress": "^13.8.0",
"enzyme": "^3.11.0",
"execa": "^5.1.1",
"fast-glob": "^3.2.7",
"find-up": "^5.0.0",
"react-dev-utils": "^10.2.1",
"react-docgen": "^5.4.0",
"rimraf": "^3.0.2",
"wait-on": "^6.0.0"
},
"overrides": {
"react": "$react",
"react-dom": "$react"
}
}