Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.13 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 4.13 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
{
"name": "individual-data-visualizer-app",
"version": "101.0.0",
"description": "Individual data visualizer app and plugin",
"license": "BSD-3-Clause",
"private": true,
"scripts": {
"build": "d2-app-scripts build",
"start": "d2-app-scripts start",
"test": "vitest run",
"test:watch": "vitest",
"deploy": "d2-app-scripts deploy",
"lint": "./scripts/lint.sh",
"format": "./scripts/format.sh",
"generate-types": "./scripts/generate-types.sh",
"cy:open": "start-server-and-test 'pnpm start' http://localhost:3000 'pnpm cypress open --e2e'",
"cy:run": "start-server-and-test 'pnpm start' http://localhost:3000 'pnpm cypress run --browser chrome headless'",
"cy:comp:open": "cypress open --component",
"cy:comp:run": "cypress run --component --browser chrome headless",
"cy:capture-fixtures": "start-server-and-test 'pnpm start' http://localhost:3000 'cypress run --e2e --browser electron --config specPattern=cypress/fixture-capture/**/*.cy.ts,video=false --env dhis2BaseUrl=https://e2e.im.dhis2.org/analytics-dev'",
"sonar": "pnpm exec sonar-scanner-npm -Dsonar.branch.name=$(git rev-parse --abbrev-ref HEAD)",
"postinstall": "./scripts/postinstall.sh"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@cypress/grep": "^7.0.0",
"@cypress/vite-dev-server": "^7.3.4",
"@dhis2/app-service-data": "^3.17.4",
"@dhis2/app-service-user": "^3.17.4",
"@dhis2/cli-app-scripts": "^12.11.8",
"@dhis2/config-eslint": "^0.4.0",
"@dhis2/config-prettier": "^0.4.0",
"@dhis2/cypress-commands": "^10.1.2",
"@eslint/compat": "^2.1.1",
"@ls-lint/ls-lint": "^2.3.2",
"@sonar/scan": "^5.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.8",
"@types/node": "^26.6.5",
"@types/prop-types": "^15",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^6.1.2",
"cypress": "^15.21.0",
"cypress-real-events": "^1.15.0",
"eslint": "^9.39.4",
"eslint-plugin-testing-library": "^7.16.2",
"jsdom": "^30.1.3",
"lint-staged": "^17.6.0",
"openapi-typescript": "^7.13.0",
"opensrc": "^0.7.2",
"postcss-styled-jsx": "^1.0.1",
"prettier": "^3.9.10",
"resize-observer-polyfill": "^1.5.1",
"start-server-and-test": "^3.0.13",
"stylelint": "^17.16.0",
"stylelint-use-logical": "^2.1.3",
"typescript": "^6",
"typescript-plugin-css-modules": "^5.2.0",
"vite": "^8.3.4",
"vitest": "^5.0.3",
"vitest-canvas-mock": "^1.2.0"
},
"dependencies": {
"@dhis2/analytics": "^29.8.1",
"@dhis2/app-runtime": "^3.17.4",
"@dhis2/ui": "^10.19.4",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@reduxjs/toolkit": "^2.13.0",
"@types/deep-equal": "^1.0.4",
"classnames": "^2.5.1",
"deep-equal": "^2.2.3",
"deepmerge": "^4.3.1",
"history": "^5.3.0",
"loglevel": "^1.9.2",
"moment": "^2.30.1",
"prop-types": "^15.8.1",
"query-string": "^9.5.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-error-boundary": "^6.1.6",
"react-redux": "^9.2.0",
"usehooks-ts": "^3.1.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
"eslint",
"prettier --check"
],
"*.{css,scss,tsx}": [
"stylelint --max-warnings=0"
],
"*.{css,scss,json,md,MD,yml,YML,yaml,YAML}": [
"prettier --check"
]
},
"packageManager": "pnpm@11.5.2+sha512.71c631e382066efc25625d5cf029075de07b61b37f6e27350fbd84b1bda5864c8c1967adc280776b45c30a715c0359a3be08fef42d5bb09e2b99029979692916"
}