forked from betagouv/aides-jeunes
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
185 lines (185 loc) · 5.9 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "mes-aides-jeunes",
"version": "12.1.3",
"description": "Simulateur de prestations sociales pour les jeunes",
"scripts": {
"serve": "npm run build:server && vue-cli-service serve",
"build": "npm run build:server && npm run build:front",
"build:analyze": "npm run build -- --env.BUNDLEANALYZE",
"build:dev": "webpack --mode=development",
"build:netlify": "npm run build && cp netlify_redirects dist/_redirects",
"build:front": "vue-cli-service build --no-clean",
"build:server": "tsc -p tsconfig.server.json && cp -r lib backend data contribuer tools dist-server/",
"test:unit": "vue-cli-service test:unit",
"lint": "eslint .",
"ci": "npm run stats && NODE_ENV=production node ./dist-server/server.js",
"cypress": "cypress run --config-file false",
"cypress:open": "cypress open --config-file false",
"db": "mongod --dbpath db",
"db-update": "./import-tests.sh",
"evaluate-benefits": "node dist-server/tools/evaluate-benefits",
"front": "npm run build:server && NODE_ENV=front-only npm run serve",
"generate-missing-institutions-aides-velo": "NODE_PATH=. node dist-server/tools/generate-missing-institutions-aides-velo.js",
"husky": "husky install",
"install-openfisca": "pip install --upgrade -r openfisca/requirements.txt",
"lint:fix": "eslint --fix .",
"openfisca": "OPENFISCA_WORKERS=1 gunicorn openfisca.api --config openfisca/config.py",
"predb": "mkdir -p db",
"prestart": "npm run build && npm run stats",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"serve-mail": "node dist-server/tools/mjml.js",
"start": "NODE_ENV=production node ./dist-server/server.js",
"stats": "node ./dist-server/backend/lib/stats",
"test": "NODE_PATH=. jest --testTimeout=20000",
"test-definition-periods": "node dist-server/tools/test-definition-periods.js",
"migrate": "node dist-server/backend/lib/migrations/apply.js --all"
},
"dependencies": {
"@actions/core": "^1.8.2",
"@actions/github": "^5.0.3",
"@babel/runtime": "^7.16.0",
"@etalab/decoupage-administratif": "^1.1.1",
"@sentry/integrations": "^6.14.0",
"@sentry/node": "^6.14.0",
"@sentry/vue": "^6.14.0",
"@vue/cli": "^5.0.4",
"aides-velo": "2.0.36",
"axios": "^0.24.0",
"body-parser": "^1.19.0",
"communes-lonlat": "^1.1.0",
"consolidate": "^0.16.0",
"cookie-parser": "^1.4.5",
"core-js": "^3.19.1",
"cors": "^2.8.5",
"currency.js": "^2.0.4",
"currencyformatter.js": "^2.2.0",
"errorhandler": "^1.5.1",
"event-stream": "4.0.1",
"express": "^4.17.1",
"express-validator": "^6.13.0",
"font-awesome": "^4.7.0",
"haversine": "^1.1.1",
"iframe-resizer": "^4.3.2",
"jamstack-loader": "^0.0.9",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mjml": "^4.10.4",
"mkdirp": "^1.0.4",
"moment": "^2.29.2",
"mongodb": "^4.1.4",
"mongoose": "^6.0.12",
"morgan": "^1.10.0",
"require-from-string": "^2.0.2",
"sass": "^1.47.0",
"sass-loader": "^12.4.0",
"sib-api-v3-sdk": "^8.2.1",
"template.data.gouv.fr": "^1.3.2",
"tmp": "^0.2.1",
"validator": "^13.7.0",
"vue": "^3.2.32",
"vue-matomo": "^4.1.0",
"vue-router": "^4.0.14",
"vuex": "^4.0.2",
"webpack-dev-server": "^4.7.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.16.0",
"@types/express": "^4.17.13",
"@types/iframe-resizer": "^3.5.9",
"@types/node": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-eslint": "^5.0.4",
"@vue/cli-plugin-typescript": "~4.5.15",
"@vue/cli-plugin-unit-jest": "^5.0.4",
"@vue/cli-service": "^5.0.4",
"@vue/eslint-config-typescript": "^9.1.0",
"@vue/vue3-jest": "^27.0.0",
"argparse": "^2.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^27.3.1",
"cypress": "^9.2.1",
"eslint": ">=7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier-vue": "^3.1.0",
"eslint-plugin-vue": "^8.0.3",
"file-loader": "^6.2.0",
"husky": "^7.0.4",
"memory-fs": "^0.5.0",
"minimist": "^1.2.6",
"mustache": "^4.2.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.2",
"typescript": "~4.1.5",
"webpack": "^5.64.3",
"webpack-bundle-analyzer": "^4.5.0"
},
"babel": {
"presets": [
[
"@vue/cli-plugin-babel/preset",
{
"useBuiltIns": "entry"
}
]
]
},
"prettier": {
"tabWidth": 2,
"singleQuote": false,
"bracketSpacing": true,
"arrowParens": "always",
"htmlWhitespaceSensitivity": "strict",
"semi": false
},
"browserslist": [
"> 0.1%, last 2 versions, Firefox ESR, not dead"
],
"jest": {
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"vue"
],
"transform": {
"^.+\\.vue$": "@vue/vue3-jest",
".+\\.(css|styl|less|scss|sass|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
"^.+\\.jsx?$": "babel-jest",
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"snapshotSerializers": [
"jest-serializer-vue"
],
"testMatch": [
"**/tests/(integration|unit)/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
],
"testURL": "http://localhost/",
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"preset": "@vue/cli-plugin-unit-jest/presets/typescript-and-babel"
},
"engines": {
"node": ">= 16"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/betagouv/aides-jeunes"
}
}