-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
123 lines (123 loc) · 5.4 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
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
{
"name": "@visualize-admin/visualization-tool",
"version": "4.9.5",
"repository": {
"type": "git",
"url": "git+https://github.com/visualize-admin/visualization-tool.git"
},
"author": {
"name": "Federal Office for the Environment FOEN",
"email": "[email protected]"
},
"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 && 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": "lingui compile && tsc --noEmit -p ./app && tsc --noEmit -p ./embed",
"lint": "eslint app -c .eslintrc.json",
"locales:extract": "NODE_ENV=development lingui extract --clean; ./scripts/strip-locale-line-numbers.sh",
"locales:compile": "lingui compile --verbose",
"locales:push": "dotenv -- accent sync --add-translations; yarn locales:extract # putting back file location comments",
"locales:pull": "dotenv -- accent export; yarn locales:extract # putting back file location comments",
"locales:sync": "yarn locales:pull && yarn locales:push",
"locales:browse": "open 'https://accent.interactivethings.io/app/projects/584e1dfa-ff1f-4b26-8cac-07004c465134'",
"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": "cd ./app && pwd && yarn jest --max-workers 1 --setupFiles ./jest.setup.ts",
"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": "percy exec -- 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",
"chromatic": "npx chromatic --build-script-name storybook:build -o app/public/storybook"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@cozy/cli-tree": "^0.3.0",
"core-js": "^3.15.1",
"next": "^13.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.2",
"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",
"@rollup/pluginutils": "^4.0.0",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-onboarding": "^1.0.11",
"@storybook/blocks": "^7.6.17",
"@storybook/nextjs": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/test": "^7.6.17",
"@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",
"accent-cli": "^0.16.2",
"argparse": "^2.0.1",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-macros": "^3.0.0",
"chromatic": "^11.4.0",
"eslint": "^7.29.0",
"eslint-config-next": "^12.0.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-visualize-admin": "link:./eslint/visualize-admin",
"fs-extra": "^10.0.0",
"import-move-codemod": "^0.0.3",
"madge": "^6.1.0",
"prettier": "^2.1.2",
"rollup": "^2.52.2",
"rollup-plugin-analyzer": "^4.0.0",
"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",
"start-server-and-test": "^1.11.4",
"storybook": "^7.6.17",
"typescript": "4"
},
"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"
}