This repository has been archived by the owner on Jun 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
78 lines (78 loc) · 3.1 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
{
"name": "@socialgouv/code-du-travail-backoffice",
"description": "Applications d'administration des données du code du travail numérique.",
"version": "0.0.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
"api:cache": "node -r dotenv/config -r esm ./scripts/dev/updateApiCache.js",
"build:app": "yarn workspace @socialgouv/code-du-travail-backoffice__app build",
"db:backup": "node -r dotenv/config ./scripts/db/backup.js",
"db:migrate": "knex migrate:latest",
"db:migrate:make": "node ./scripts/db/generateMigration.js",
"db:restore": "node -r dotenv/config ./scripts/db/restore.js",
"db:snapshot:restore": "node -r dotenv/config ./scripts/db/restoreSnapshot.js",
"db:snapshot:update": "node -r dotenv/config ./scripts/db/updateSnapshot.js",
"dev": "yarn dev:docker && yarn dev:packages",
"dev:standalone": "yarn dev:docker:standalone && yarn dev:packages",
"dev:docker": "docker-compose down && docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d postgrest",
"dev:docker:standalone": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d cdtn_api postgrest",
"dev:packages": "lerna run --parallel --scope \"@socialgouv/code-du-travail-backoffice__api\" --scope \"@socialgouv/code-du-travail-backoffice__app\" dev",
"preinstall": "node ./scripts/ci/removeWorkspaces.js && node ./scripts/ci/deleteYarnLock.js",
"setup": "yarn setup:env && node -r dotenv/config ./scripts/dev/setup.js",
"setup:env": "cpy --rename=\".env\" ./.env.example .",
"start": "lerna run --scope \"@socialgouv/code-du-travail-backoffice__api\" --scope \"@socialgouv/code-du-travail-backoffice__app\" start",
"start:prod": "NODE_ENV=production ./scripts/prod/start.sh",
"test": "yarn test:lint && yarn test:type && yarn test:unit --silent",
"test:e2e": "cucumber-js",
"test:lint": "eslint .",
"test:unit": "jest",
"test:type": "tsc",
"test:update": "yarn test:unit --updateSnapshot",
"test:watch": "yarn test:unit --watch"
},
"dependencies": {
"colors": "1.4.0",
"dayjs": "1.10.7",
"dotenv": "10.0.0",
"esm": "3.2.25",
"knex": "0.21.15",
"lerna": "3.22.1",
"npmlog": "4.1.2",
"pg": "8.5.1",
"shelljs": "0.8.4"
},
"devDependencies": {
"@socialgouv/eslint-config-react-strict": "0.35.0",
"@socialgouv/eslint-config-strict": "0.35.0",
"@testing-library/jest-dom": "5.11.8",
"@types/cucumber": "6.0.1",
"@types/jest": "26.0.20",
"axios": "0.21.1",
"boxen": "5.0.0",
"chai": "4.2.0",
"cpy-cli": "3.1.1",
"cucumber": "6.0.5",
"dumdum": "1.0.0-alpha.5",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-chai-expect": "2.2.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-sort-requires": "2.1.0",
"imgur": "0.3.1",
"jabber": "1.2.2",
"jest": "26.6.3",
"ora": "5.2.0",
"postgrester": "1.5.0",
"prettier": "2.2.1",
"puppeteer": "10.0.0",
"typescript": "4.1.3",
"yargs": "17.0.1"
},
"resolutions": {
"@babel/preset-react": "^7.12.10"
},
"workspaces": [
"packages/*"
]
}