{ "name": "sgmap-mes-aides-ui", "version": "12.1.3", "description": "Simulateur de prestations sociales mes-aides.gouv.fr", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build --no-clean", "test:unit": "vue-cli-service test:unit", "lint": "vue-cli-service lint", "build:dev": "webpack --mode=development", "build:netlify": "npm run build && cp netlify_redirects dist/_redirects", "build_old": "NODE_ENV=production webpack --mode=production", "cypress": "cypress run", "db": "mongod --dbpath db", "db-update": "./import-tests.sh", "eslint": "eslint .", "fast-install": "PUPPETEER_SKIP_DOWNLOAD=1 npm ci", "front": "NODE_ENV=front_only npm run serve", "install-openfisca": "pip install --upgrade -r openfisca/requirements.txt", "openfisca": "cd openfisca && gunicorn api --config config.py", "predb": "mkdir -p db", "prestart": "npm run build && npm run stats", "start": "NODE_ENV=production node server.js", "stats": "node backend/lib/stats", "test": "npm run test:mocha && npm run test:karma && npm run test:jest", "test:jest": "jest", "test:mocha": "mocha --recursive test/backend", "test:openfisca": "mocha test/backend/openfisca/test.js --timeout 10000" }, "dependencies": { "@babel/runtime": "^7.9.6", "@etalab/decoupage-administratif": "0.6.2", "@sentry/integrations": "^5.15.5", "@sentry/node": "^5.15.5", "axios": "^0.19.2", "body-parser": "^1.19.0", "consolidate": "^0.15.1", "cookie-parser": "^1.4.5", "core-js": "^3.6.4", "cors": "^2.8.4", "currencyformatter.js": "^2.1.0", "d3": "^5.16.0", "event-stream": "3.3.4", "express": "^4.17.1", "font-awesome": "^4.7.0", "frozen-moment": "^0.4.0", "fuse.js": "^3.6.1", "iframe-resizer": "^4.2.10", "jamstack-loader": "0.0.8", "js-yaml": "^3.13.1", "jsonwebtoken": "^8.5.1", "kerberos": "0.0.23", "lodash": "^4.17.14", "ludwig-api": "github:betagouv/ludwig-api#v1.3.0", "ludwig-ui": "^1.5.4", "mingo": "^2.5.3", "mjml": "^4.6.3", "moment": "^2.25.3", "mongoose": "^5.9.14", "morgan": "^1.10.0", "puppeteer": "1.18.0", "raven": "^2.6.4", "raven-js": "^3.27.2", "request-promise": "^4.2.5", "sgmap-mes-aides-api": "github:sgmap/mes-aides-api#v12.0.0", "sib-api-v3-sdk": "^7.2.2", "smooth-scroll": "^16.1.3", "template.data.gouv.fr": "^1.3.2", "tmp": "0.1.0", "validator": "^11.1.0", "vue": "^2.6.11", "vue-async-computed": "^3.8.2", "vue-matomo": "^3.12.0", "vue-router": "^3.1.6", "vuelidate": "^0.7.5", "vuex": "^3.4.0" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.3.1", "@vue/cli-plugin-eslint": "^4.3.1", "@vue/cli-plugin-unit-jest": "^4.3.1", "@vue/cli-service": "^4.3.1", "@vue/test-utils": "1.0.0-beta.29", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^23.6.0", "cypress": "^4.5.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^6.2.2", "mustache": "^2.3.0", "sass": "^1.26.5", "sass-loader": "^7.3", "vue-template-compiler": "^2.6.11", "world-countries": "github:mledoze/countries#25ac1083834" }, "eslintConfig": { "root": true, "env": { "node": true }, "extends": [ "plugin:vue/essential", "eslint:recommended" ], "rules": { "eol-last": "error", "no-irregular-whitespace": "off" }, "parserOptions": { "parser": "babel-eslint" }, "overrides": [ { "files": [ "**/__tests__/*.{j,t}s?(x)" ], "env": { "jest": true } } ] }, "postcss": { "plugins": { "autoprefixer": {} } }, "browserslist": [ "> 5%", "ie >= 11" ], "jest": { "moduleFileExtensions": [ "js", "jsx", "json", "vue" ], "transform": { "^.+\\.vue$": "vue-jest", ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", "^.+\\.jsx?$": "babel-jest", "^.+\\.js$": "babel-jest" }, "transformIgnorePatterns": [ "/node_modules/" ], "moduleNameMapper": { "^@/(.*)$": "/src/$1" }, "snapshotSerializers": [ "jest-serializer-vue" ], "testMatch": [ "**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)" ], "testURL": "http://localhost/", "watchPlugins": [ "jest-watch-typeahead/filename", "jest-watch-typeahead/testname" ] }, "license": "AGPL-3.0", "repository": { "type": "git", "url": "https://github.com/sgmap/mes-aides-ui" } }