-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 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
{
"name": "luxembourg-geoportail",
"version": "0.0.0-dev",
"private": true,
"scripts": {
"tag": "git tag $(git rev-parse --abbrev-ref HEAD)_DEV_$(git rev-parse --short HEAD)",
"start": "npm run dev",
"dev": "vite --force",
"build": "run-p type-check build-only",
"build-only": "vite build",
"build:lib:prod": "npx vite build --mode prod --config vite-dist.config.ts --minify=esbuild --debug && npx babel bundle/lux.dist.mjs --out-file bundle/lux.dist.js",
"build:lib:dev": "npx vite build --mode staging --config vite-dist.config.ts --minify=false --base=/dev/main.html/ --debug && BABEL_ENV=dev npx babel bundle/lux.dist.mjs --out-file bundle/lux.dist.js",
"preview": "vite preview",
"test": "npm run test:unit",
"test:unit": "vitest --environment jsdom --root .",
"test:unit:ci": "vitest run --environment jsdom --coverage",
"test:e2e": "INSTRUMENT_COVERAGE=true start-server-and-test preview :4173 'cypress open --e2e'",
"test:e2e:ci": "INSTRUMENT_COVERAGE=true start-server-and-test 'VITE_USE_PROXYURL=false vite dev --port 4173' :4173 'cypress run --browser my-chromium --e2e'",
"test:e2e:dev": "INSTRUMENT_COVERAGE=true start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
"coverage-report": "nyc report",
"type-check:dev": "npm run type-check -- --watch",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint:js": "eslint . --ext .vue,.js,.cjs,.mjs,.ts,.cts,.mts --ignore-path .prettierignore",
"lint:prettier": "prettier --check . --ignore-path .prettierignore",
"lint": "npm run lint:js && npm run lint:prettier",
"format": "prettier --write --list-different . --ignore-path .prettierignore && npm run lint:js -- --fix",
"prepare": "husky install"
},
"files": [
"*",
"bundle/*"
],
"dependencies": {
"@camptocamp/ogc-client": "^0.3.4",
"d3-array": "^3.2.4",
"d3-axis": "^3.0.0",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-transition": "^3.0.1",
"d3-zoom": "^3.0.0",
"file-saver": "^2.0.5",
"luxon": "^3.4.1",
"mapbox-gl": "^1.7.0",
"ol": "6.15.0",
"pinia": "^2.0.26",
"sortablejs": "^1.15.2",
"tailwindcss": "^3.4.4",
"uuid": "^10.0.0",
"vue": "^3.2.45",
"vue-dompurify-html": "^3.1.2"
},
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@cypress/code-coverage": "^3.13.4",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@pinia/testing": "^0.0.14",
"@rushstack/eslint-patch": "^1.1.4",
"@types/d3-array": "^3.2.1",
"@types/d3-axis": "^3.0.6",
"@types/d3-scale": "^4.0.8",
"@types/d3-selection": "^3.0.10",
"@types/d3-shape": "^3.1.6",
"@types/d3-transition": "^3.0.8",
"@types/jsdom": "^20.0.1",
"@types/luxon": "^3.3.1",
"@types/node": "^18.11.9",
"@types/proj4": "^2.5.2",
"@types/sortablejs": "^1.15.2",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitest/coverage-v8": "^2.1.3",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "^2.2.4",
"@vue/tsconfig": "^0.1.3",
"core-js": "^3.37.1",
"cypress": "^13.7.2",
"cypress-real-events": "^1.13.0",
"eslint": "^8.22.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-vue": "^9.3.0",
"husky": "^8.0.2",
"i18next": "^23.16.0",
"i18next-http-backend": "^2.6.2",
"i18next-parser": "^9.0.2",
"i18next-vue": "^5.0.0",
"jsdom": "^20.0.3",
"lint-staged": "^13.0.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"prettier": "^2.7.1",
"proj4": "^2.8.1",
"start-server-and-test": "^1.14.0",
"typescript": "~4.7.4",
"vite": "^4.0.0",
"vite-plugin-istanbul": "^4.0.0",
"vitest": "^2.1.3",
"vue-tsc": "^1.0.9"
},
"lint-staged": {
"*.ts|*.vue": [
"eslint --fix",
"prettier --write"
]
}
}