Select Git revision
.ncurc.json
package.json 3.43 KiB
{
"name": "camino-ui",
"version": "1.0.0",
"description": "Interface web de Camino, le cadastre minier numérique ouvert",
"private": true,
"type": "module",
"scripts": {
"prebuild": "react-dsfr update-icons",
"build": "tsc --noEmit --incremental && vite build --emptyOutDir",
"predev": "react-dsfr update-icons",
"dev": "vite --host",
"dev:update": "npm-check-updates && npm install && npm audit fix",
"start": "node ./index.js",
"test": "vitest",
"lint": "prettier --write src && eslint --fix src --max-warnings=0",
"lint:check": "prettier --check src && eslint src --max-warnings=0",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"storybook:test": "test-storybook --browsers chromium"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^15.3.0",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-controls": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/preview-api": "^8.3.0",
"@storybook/test": "^8.3.0",
"@storybook/test-runner": "^0.19.1",
"@storybook/vue3": "^8.3.0",
"@storybook/vue3-vite": "^8.4.7",
"@testing-library/vue": "^8.1.0",
"@types/file-saver": "^2.0.7",
"@types/geojson": "^7946.0.15",
"@types/leaflet": "^1.9.15",
"@types/leaflet.markercluster": "^1.5.5",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@uppy/core": "^4.3.0",
"@uppy/tus": "^4.1.5",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vitest/coverage-v8": "^2.1.8",
"@vue/eslint-config-prettier": "^9.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^9.2.1",
"babel-plugin-graphql-tag": "^3.3.0",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"babel-preset-vite": "^1.1.3",
"camino-common": "1.0.0",
"chart.js": "^4.4.7",
"core-js": "^3.39.0",
"dotenv": "^16.4.7",
"email-validator": "^2.0.4",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"file-saver": "^2.0.5",
"graphql": "^16.9.0",
"graphql-react": "^20.0.0",
"graphql-tag": "^2.12.6",
"jsdom": "^25.0.1",
"jsondiffpatch-rc": "^0.4.2",
"leaflet": "^1.9.4",
"leaflet-fullscreen": "^1.0.2",
"leaflet-gesture-handling": "^1.2.2",
"leaflet.markercluster": "^1.5.3",
"maplibre-gl": "^4.7.1",
"postcss": "^8.4.49",
"postcss-custom-media": "^11.0.5",
"postcss-preset-env": "^10.1.1",
"prettier": "^3.4.2",
"rollup-plugin-visualizer": "^5.12.0",
"storybook": "^8.4.7",
"typescript": "^5.7.2",
"typescript-plugin-css-modules": "^5.1.0",
"vite": "^5.4.11",
"vitest": "^2.0.5",
"vue": "^3.5.4",
"vue-router": "^4.5.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"proseWrap": "never",
"bracketSpacing": true,
"trailingComma": "es5",
"printWidth": 200
},
"postcss": {
"plugins": {
"postcss-custom-media": {},
"postcss-preset-env": {
"stage": 0
}
}
},
"browserslist": [
"supports es6-module"
],
"dependencies": {
"@codegouvfr/react-dsfr": "1.17.0",
"chartjs-plugin-chart2music": "^0.6.0",
"decimal.js": "^10.4.3",
"focus-trap": "^7.6.4",
"zod": "^3.23.8"
}
}