-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 5.13 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 5.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "go-web-app",
"version": "7.22.0",
"type": "module",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/IFRCGo/go-web-app.git",
"directory": "app"
},
"scripts": {
"translatte": "tsx scripts/translatte/main.ts",
"translatte:generate": "pnpm translatte generate-migration ../translationMigrations ./src/**/i18n.json ../packages/ui/src/**/i18n.json",
"translatte:lint": "pnpm translatte lint ./src/**/i18n.json ../packages/ui/src/**/i18n.json",
"initialize:type": "mkdir -p generated/ && pnpm initialize:type:go-api && pnpm initialize:type:risk-api",
"initialize:type:go-api": "test -f ./generated/types.ts && true || cp types.stub.ts ./generated/types.ts",
"initialize:type:risk-api": "test -f ./generated/riskTypes.ts && true || cp types.stub.ts ./generated/riskTypes.ts",
"generate:type": "pnpm generate:type:go-api && pnpm generate:type:risk-api",
"generate:type:go-api": "GO_API_HASH=$(git rev-parse HEAD:go-api); dotenv -- cross-var openapi-typescript https://raw.githubusercontent.com/IFRCGo/go-api-artifacts/refs/heads/main/generated/$GO_API_HASH/openapi-schema.yaml -o ./generated/types.ts --alphabetize",
"generate:type:risk-api": "dotenv -- cross-var openapi-typescript ../go-risk-module-api/openapi-schema.yaml -o ./generated/riskTypes.ts --alphabetize",
"prestart": "pnpm initialize:type",
"start": "pnpm -F @ifrc-go/ui build && vite",
"prebuild": "pnpm initialize:type",
"build": "pnpm -F @ifrc-go/ui build && vite build",
"preview": "vite preview",
"pretypecheck": "pnpm initialize:type",
"typecheck": "tsc",
"prelint:js": "pnpm initialize:type",
"lint:js": "eslint src",
"lint:css": "stylelint \"./src/**/*.css\"",
"lint:translation": "pnpm translatte:lint",
"lint": "pnpm lint:js && pnpm lint:css && pnpm lint:translation",
"lint:fix": "pnpm lint:js --fix && pnpm lint:css --fix",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@ifrc-go/icons": "^2.0.1",
"@ifrc-go/ui": "workspace:^",
"@sentry/react": "^7.120.4",
"@tinymce/tinymce-react": "^5.1.1",
"@togglecorp/fujs": "^2.2.0",
"@togglecorp/re-map": "^0.3.0",
"@togglecorp/toggle-form": "^2.0.4",
"@togglecorp/toggle-request": "1.0.0-beta.3",
"@turf/bbox": "^6.5.0",
"@turf/buffer": "^6.5.0",
"exceljs": "^4.4.0",
"file-saver": "^2.0.5",
"html-to-image": "^1.11.13",
"mapbox-gl": "^1.13.3",
"papaparse": "^5.5.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.1",
"sanitize-html": "^2.17.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.37.0",
"@eslint/json": "^0.13.2",
"@julr/vite-plugin-validate-env": "^2.2.0",
"@types/file-saver": "^2.0.7",
"@types/mapbox-gl": "^1.13.10",
"@types/node": "^20.19.21",
"@types/papaparse": "^5.3.16",
"@types/react": "^18.3.26",
"@types/react-dom": "^18.3.7",
"@types/sanitize-html": "^2.16.0",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"@typescript-eslint/typescript-estree": "^8.46.1",
"@typescript-eslint/visitor-keys": "^8.46.1",
"@vitejs/plugin-react-swc": "^3.11.0",
"autoprefixer": "^10.4.21",
"cross-var": "^1.1.0",
"dotenv-cli": "^7.4.4",
"eslint": "^9.37.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-import-exports-imports-resolver": "^1.0.1",
"eslint-plugin-import-newlines": "^1.4.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.0",
"eslint-plugin-react-refresh": "^0.4.23",
"eslint-plugin-simple-import-sort": "^12.1.1",
"fast-glob": "^3.3.3",
"happy-dom": "^9.20.3",
"jiti": "^2.6.1",
"openapi-typescript": "6.5.5",
"postcss": "^8.5.6",
"postcss-nested": "^7.0.2",
"postcss-normalize": "^13.0.1",
"postcss-preset-env": "^10.4.0",
"rollup-plugin-visualizer": "^5.14.0",
"stylelint": "^16.25.0",
"stylelint-config-concentric": "^2.0.2",
"stylelint-config-recommended": "^15.0.0",
"stylelint-value-no-unknown-custom-properties": "^6.0.1",
"ts-md5": "^1.3.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vite": "^5.4.20",
"vite-plugin-checker": "^0.7.2",
"vite-plugin-compression2": "^0.11.0",
"vite-plugin-radar": "^0.9.6",
"vite-plugin-svgr": "^4.5.0",
"vite-plugin-webfont-dl": "^3.11.1",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^3.2.4",
"yargs": "^17.7.2"
}
}