-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 5.71 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 5.71 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
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@visualize-admin/visualization-tool",
"version": "6.4.0",
"repository": {
"type": "git",
"url": "git+https://github.com/visualize-admin/visualization-tool.git"
},
"author": {
"name": "Federal Office for the Environment FOEN",
"email": "visualize@bafu.admin.ch"
},
"license": "BSD-3-Clause",
"private": true,
"scripts": {
"dev": "preconstruct dev && NODE_OPTIONS=\"--inspect --openssl-legacy-provider \" next ./app",
"dev:ssl": "preconstruct dev && NODE_OPTIONS=\"--inspect --openssl-legacy-provider \" next dev --experimental-https ./app",
"dev:mitmproxy": "preconstruct dev && HTTP_PROXY=http://localhost:8080 NODE_EXTRA_CA_CERTS=~/.mitmproxy/mitmproxy-ca-cert.pem GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE='' NO_PROXY='localhost,127.0.0.1' next ./app",
"dev:rollup": "rollup -c rollup.config.js --watch",
"db:migrate:dev": "DATABASE_URL=postgres://postgres:password@localhost:5432/visualization_tool prisma db push",
"db:migrate": "[ -z \"$DATABASE_URL\" ] && echo 'Bypassing database migration, DATABASE_URL not set' || prisma db push",
"build": "yarn graphql:codegen && lingui compile && rollup -c rollup.config.js && yarn storybook:build && yarn generate-json-schema && next build ./app",
"build:npm": "yarn graphql:codegen && lingui compile && BABEL_ENV=NPM_PACKAGE preconstruct build",
"start": "yarn db:migrate && GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE='' NO_PROXY='localhost,127.0.0.1' next start ./app -p $PORT",
"typecheck": "tsc --noEmit -p ./app && tsc --noEmit -p ./embed",
"lint": "eslint app -c .eslintrc.json",
"knip": "npx knip --tags=-internal",
"locales:extract": "lingui extract --clean; ./scripts/strip-locale-line-numbers.sh",
"locales:compile": "lingui compile --verbose",
"graphql:codegen": "graphql-codegen --config codegen.yml",
"graphql:codegen:dev": "graphql-codegen --config codegen.yml --watch",
"icons": "rm -f app/icons/components/*.tsx && svgr -d app/icons/components app/icons/svg",
"test": "vitest run --root ./app",
"test:watch": "vitest --root ./app",
"test:coverage": "vitest --root ./app --coverage",
"test:ui": "vitest --ui --root $(pwd)/app",
"setup:dev": "yarn && yarn locales:compile && yarn db:migrate:dev",
"postversion": "git push --follow-tags",
"release:npm": "yarn build:npm && yarn publish app",
"e2e:dev": "E2E_BASE_URL=http://localhost:3000 yarn playwright test",
"e2e:dev:ssl": "E2E_BASE_URL=https://localhost:3000 yarn playwright test",
"e2e:ui": "E2E_BASE_URL=http://localhost:3000 yarn playwright test --ui",
"e2e:ui:ssl": "E2E_BASE_URL=https://localhost:3000 yarn playwright test --ui",
"e2e": "playwright test",
"cube": "NODE_ENV=development ts-node app/scripts/cube.ts",
"dev:circular-deps": "madge --warning --extensions js,jsx,ts,tsx -b ./app -c ./app/pages/ --ts-config ./app/tsconfig.json | bun scripts/circular-deps-analysis.ts -",
"github:codegen": "node k6/performance-tests/generate-github-actions.mjs",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build -o app/public/storybook",
"compare-screenshots": "npx tsx scripts/compare-screenshots.ts",
"generate-json-schema": "tsx -r dotenv/config app/scripts/generate-json-schema.ts",
"wms-wmts-providers:scrape": "curl https://raw.githubusercontent.com/geoadmin/web-mapviewer/refs/heads/develop/packages/mapviewer/src/modules/menu/components/advancedTools/ImportCatalogue/external-providers.json | prettier --parser json > ./app/charts/map/wms-wmts-providers.json"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@cozy/cli-tree": "^0.3.0",
"core-js": "^3.15.1",
"next": "14.2.35",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-brand": "^0.2.0",
"ts-node": "^10.9.2"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@preconstruct/cli": "^2.7.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@storybook/addon-essentials": "8.6.18",
"@storybook/addon-interactions": "8.6.18",
"@storybook/addon-links": "8.6.18",
"@storybook/blocks": "8.6.18",
"@storybook/nextjs": "8.6.18",
"@storybook/react": "8.6.18",
"@storybook/types": "8.6.18",
"@types/argparse": "^2.0.10",
"@types/eslint": "^8.4.6",
"@types/fs-extra": "^9.0.4",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@typescript-eslint/utils": "^5.35.1",
"@vitest/coverage-v8": "3.1.4",
"@vitest/ui": "3.1.4",
"argparse": "^2.0.1",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-macros": "^3.0.0",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.23",
"eslint-plugin-deprecate": "^0.8.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-storybook": "^0.11.2",
"eslint-plugin-visualize-admin": "link:./eslint/visualize-admin",
"fs-extra": "^10.0.0",
"import-move-codemod": "^0.0.3",
"knip": "^5.42.0",
"madge": "^6.1.0",
"prettier": "^3.4.2",
"rollup": "^2.52.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-terser": "^7.0.2",
"storybook": "8.6.12",
"tsx": "^4.19.2",
"typescript": "4.9.5",
"vitest": "^3.1.4"
},
"packageManager": "yarn@1.22.22",
"workspaces": [
".",
"app"
],
"preconstruct": {
"packages": [
"app"
]
},
"cacheDirectories": [
"node_modules",
"app/.next/cache"
],
"resolutions": {
"@babel/core": "^7.14.6",
"@babel/parser": "^7.14.6"
},
"bugs": {
"url": "https://github.com/visualize-admin/visualization-tool/issues"
},
"homepage": "https://github.com/visualize-admin/visualization-tool#readme"
}