This repository has been archived by the owner on Jan 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 4.49 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
{
"name": "pix",
"version": "2.243.0",
"private": false,
"description": "Plateforme d'évaluation et de certification des compétences numériques des citoyens francophones.",
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.x.x",
"npm": "6.14.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/1024pix/pix.git"
},
"directories": {
"doc": "docs",
"test": "tests"
},
"homepage": "https://github.com/1024pix/pix#readme",
"bugs": {
"url": "https://github.com/1024pix/pix/issues"
},
"main": "index.js",
"devDependencies": {
"@sentry/cli": "^1.49.0",
"chai": "^4.2.0",
"codeclimate-test-reporter": "^0.5.1",
"coveralls": "^3.0.9",
"eslint": "^6.7.1",
"eslint-plugin-mocha": "^6.2.2",
"lcov-result-merger": "^3.1.0",
"mocha": "^6.2.2"
},
"scripts": {
"build": "run-s ci:front build:front signal-github signal-jira",
"build:admin": "(cd admin && npm run build) && mkdir -p dist && cp -R admin/dist dist/admin",
"build:certif": "(cd certif && npm run build) && mkdir -p dist && cp -R certif/dist dist/certif",
"build:front": "run-p --print-label build:mon-pix build:orga build:certif build:admin",
"build:mon-pix": "(cd mon-pix && npm run build) && mkdir -p dist && cp -R mon-pix/dist dist/app",
"build:orga": "(cd orga && npm run build) && mkdir -p dist && cp -R orga/dist dist/orga",
"ci:admin": "cd admin && npm ci",
"ci:all": "run-p --print-label ci:api ci:front",
"ci:api": "cd api && npm ci",
"ci:certif": "cd certif && npm ci",
"ci:front": "run-p --print-label ci:mon-pix ci:orga ci:certif ci:admin",
"ci:mon-pix": "cd mon-pix && npm ci",
"ci:orga": "cd orga && npm ci",
"signal-github": "./scripts/signal_deploy_to_pr.sh",
"signal-jira": "node ./scripts/jira/comment-with-review-app-url.js",
"compute-lead-times": "node ./scripts/compute-lead-times",
"clean": "run-p --print-label clean:api clean:mon-pix clean:orga clean:certif clean:admin clean:coverage && npm run clean:root",
"clean:admin": "cd admin && npm run clean",
"clean:api": "cd api && npm run clean",
"clean:certif": "cd certif && npm run clean",
"clean:coverage": "rm -rf coverage api/coverage mon-pix/coverage",
"clean:mon-pix": "cd mon-pix && npm run clean",
"clean:orga": "cd orga && npm run clean",
"clean:root": "rm -rf node_modules && rm -rf tmp",
"configure": "./scripts/configure.sh",
"coverage": "run-s coverage:clean coverage:api coverage:merge coverage:coveralls coverage:codeclimate",
"coverage:api": "cd api && npm run lint && npm run coverage",
"coverage:clean": "rm -rf ./coverage",
"coverage:codeclimate": "cat coverage/lcov.info | CODECLIMATE_REPO_TOKEN=80a1861f8334f8bf1876c2dce46512e7cb13bf4a0fbe7f677543e0e958219ead codeclimate-test-reporter",
"coverage:coveralls": "cat coverage/lcov.info | COVERALLS_SERVICE_NAME=circleci COVERALLS_REPO_TOKEN=7ZqXV3M8PYB3iWKIFbIbDCnKkpr7k19wP coveralls",
"coverage:merge": "lcov-result-merger 'coverage/*_lcov.info' 'coverage/lcov.info'",
"lint": "run-p --print-label lint:api lint:mon-pix lint:orga lint:certif lint:admin",
"lint:admin": "cd admin && npm run lint",
"lint:api": "cd api && npm run lint",
"lint:certif": "cd certif && npm run lint",
"lint:mon-pix": "cd mon-pix && npm run lint",
"lint:orga": "cd orga && npm run lint",
"lint:scripts": "cd scripts && eslint .",
"preinstall": "npx check-engine",
"start": "run-p --print-label start:api start:mon-pix start:orga start:certif start:admin",
"start2": "run-p --print-label start:api start:mon-pix start:admin",
"start:admin": "cd admin && npm start",
"start:api": "cd api && npm run start:watch",
"start:certif": "cd certif && npm start",
"start:mon-pix": "cd mon-pix && npm start",
"start:orga": "cd orga && npm start",
"test": "run-p --print-label test:api test:mon-pix test:orga test:certif test:admin test:scripts",
"test:admin": "cd admin && npm test",
"test:api": "cd api && npm run lint && npm test",
"test:api:debug": "cd api && npm run test:api:debug",
"test:certif": "cd certif && npm test",
"test:mon-pix": "cd mon-pix && npm test",
"test:orga": "cd orga && npm test",
"test:scripts": "cd scripts && NODE_ENV=test mocha --recursive --exit --reporter dot tests"
},
"dependencies": {
"axios": "^0.19.0",
"bluebird": "3.7.2",
"d3-dsv": "1.2.0",
"eslint-plugin-ember": "^7.6.0",
"moment": "^2.24.0",
"npm-run-all": "^4.1.5"
}
}