-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 3.48 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
{
"name": "ecobalyse",
"version": "0.0.1",
"description": "Accélérer l'affichage environnemental de la filière textile française",
"author": "Ecobalyse <contact@beta.gouv.fr>",
"license": "MIT",
"private": true,
"scripts": {
"build": "npm run server:build && rimraf dist && npm run build:init && parcel build index.html --public-url ./",
"build:init": "./bin/update-version.sh && mkdir -p dist && cp -r public/* dist/ && npm run db:build",
"processes:build": "elm make src/ComputeAggregated.elm --output=compute-aggregated-app.js && node compute-aggregated.js",
"db:build": "./bin/build-db",
"lint:prettier": "prettier --config .prettierrc --check",
"lint:prettier:all": "npm run lint:prettier -- .",
"lint:ruff:all": "pipenv run ruff check --extend-select I && pipenv run ruff format --check",
"lint:all": "npm run lint:prettier:all && npm run lint:ruff:all",
"fix:prettier": "npm run lint:prettier -- --write",
"fix:prettier:all": "npm run lint:prettier -- --write .",
"fix:ruff:all": "pipenv run ruff check --extend-select I --fix && pipenv run ruff format",
"fix:all": "npm run fix:ruff:all && npm run fix:prettier:all",
"format:json": "npx prettier@3.0.3 --write . && pipenv run ruff check --select I --fix && pipenv run ruff format",
"prepare": "husky",
"server:build": "npm run db:build && elm make src/Server.elm --optimize --output=server-app.js",
"server:dev": "npm run server:build && nodemon server.js --config nodemon.json",
"server:debug": "elm make src/Server.elm --output=server-app.js && nodemon server.js --config nodemon.json",
"server:start": "node server.js",
"start:backend": "cd backend && pipenv run ./update.sh && pipenv run ./manage.py runserver 0.0.0.0:8002",
"start:parcel": "parcel serve index.html --no-cache",
"start:dev": "npm run build:init && concurrently -k -n \"parcel,server,backend\" -c \"green,cyan,yellow\" \"npm run start:parcel\" \"npm run server:dev\" \"npm run start:backend\"",
"start": "PARCEL_ELM_NO_DEBUG=1 npm run start:dev",
"test:backend": "pipenv run backend/manage.py test authentication",
"test:client": "npx elm-test",
"test:review": "npx elm-review",
"test:server": "npm run server:build && jest",
"test:server-ci": "concurrently -k -s first -n \"django,test\" \"npm run start:backend\" \"while ! lsof -i:8002; do sleep 1; done && npm run server:build && jest\"",
"test": "npm run db:build && npm run test:review && npm run test:client && npm run test:backend && npm run test:server"
},
"dependencies": {
"@parcel/transformer-elm": "^2.12.0",
"@parcel/transformer-image": "^2.12.0",
"@parcel/transformer-sass": "^2.12.0",
"@sentry/browser": "^7.106.0",
"@sentry/node": "^7.106.0",
"@sentry/tracing": "^7.106.0",
"bootstrap": "^5.3.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"elm": "^0.19.1-6",
"express": "^4.19.2",
"fast-memoize": "^2.5.2",
"helmet": "^7.1.0",
"highcharts": "^11.4.0",
"js-yaml": "^4.1.0",
"parcel": "^2.12.0",
"piwik": "^1.0.9"
},
"devDependencies": {
"concurrently": "^8.2.2",
"elm-format": "^0.8.7",
"elm-json": "^0.2.13",
"elm-review": "^2.10.3",
"elm-test": "0.19.1-revision12",
"husky": "^9.0.11",
"jest": "^29.7.0",
"nodemon": "^3.1.0",
"npm-check-updates": "^16.14.15",
"prettier": "^3.2.5",
"process": "^0.11.10",
"rimraf": "^5.0.5",
"supertest": "^6.3.4"
},
"cacheDirectories": [
"node_modules",
"~/.elm"
]
}