This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
73 lines (73 loc) · 3.54 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
{
"name": "pix",
"version": "1.46.0",
"description": "Plateforme d'évaluation et de certification des compétences numériques des citoyens francophones.",
"author": "Team PIX",
"license": "AGPL-3.0",
"homepage": "https://github.com/1024pix/pix#readme",
"bugs": {
"url": "https://github.com/1024pix/pix/issues"
},
"main": "index.js",
"devDependencies": {
"codeclimate-test-reporter": "^0.5.0",
"coveralls": "^3.0.0",
"eslint": "^4.18.2",
"eslint-plugin-mocha": "^4.12.1",
"lcov-result-merger": "^1.2.0",
"npm-run-all": "^4.1.0"
},
"engines": {
"node": ">=7.10 <9"
},
"cacheDirectories": [
"node_modules/",
"api/node_modules/",
"live/node_modules/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/1024pix/pix.git"
},
"scripts": {
"clean:root": "rm -rf node_modules && rm -rf tmp",
"clean:api": "cd api && npm run clean",
"clean:live": "cd live && npm run clean",
"clean:coverage": "rm -rf coverage api/coverage live/coverage",
"clean": "node_modules/.bin/run-p clean:api clean:live clean:coverage && npm run clean:root",
"lint": "npm run lint:api && npm run lint:live",
"lint:api": "cd api/ && npm run lint",
"lint:live": "cd live/ && npm run lint",
"configure:api": "(cd api && npm run db:migrate)",
"configure": "npm install && npm test && npm run configure:api",
"install:api": "cd api && npm install",
"install:live": "cd live && npm install",
"postinstall": "npm run install:api && npm run install:live",
"start:api": "cd api && npm run start:watch",
"start:live": "cd live && ember serve --proxy",
"start": "run-p start:api start:live",
"test:api": "cd api && npm run lint && npm test",
"test:live": "cd live && npm test",
"test": "npm run test:api && npm run test:live",
"coverage:clean": "rm -rf ./coverage",
"coverage:api": "cd api && npm run lint && npm run coverage",
"coverage:live": "cd live && npm run coverage",
"coverage:merge": "./node_modules/.bin/lcov-result-merger 'coverage/*_lcov.info' 'coverage/lcov.info'",
"coverage:coveralls": "cat coverage/lcov.info | COVERALLS_SERVICE_NAME=circleci COVERALLS_REPO_TOKEN=M9ACRID08PaZPH1LoaIkNpek1S8YEyAvA ./node_modules/.bin/coveralls",
"coverage:codeclimate": "cat coverage/lcov.info | CODECLIMATE_REPO_TOKEN=bd614b65638c2cdf55c040a201c45996b8838195786bc522453ee241c9fb2cae ./node_modules/.bin/codeclimate-test-reporter",
"coverage": "npm run coverage:clean && npm run coverage:api && npm run coverage:live && npm run coverage:merge && npm run coverage:coveralls && npm run coverage:codeclimate",
"deploy:integration:api": "cd api && npm run deploy:integration",
"deploy:integration:live": "cd live && npm run deploy:integration && ./live/scripts/signal_deploy_to_pr.sh",
"deploy:integration": "npm run deploy:integration:api && npm run deploy:integration:live",
"deploy:production:api": "cd api && npm run deploy:production",
"deploy:production:live": "cd live && npm run deploy:production",
"deploy:production": "npm run deploy:production:api && npm run deploy:production:live",
"deploy:side-apps": "./scripts/release/deploy-side-apps.sh",
"deploy:staging:api": "cd api && npm run deploy:staging",
"deploy:staging:live": "cd live && npm run deploy:staging",
"deploy:staging": "npm run deploy:staging:api && npm run deploy:staging:live",
"release:prepare": "./scripts/release/prepare.sh",
"release:perform": "./scripts/release/perform.sh",
"release:publish": "./scripts/release/publish.sh"
}
}