This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.3 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
{
"name": "@socialgouv/cdtn-api",
"version": "1.11.4",
"license": "Apache-2.0",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/SocialGouv/cdtn-api.git"
},
"scripts": {
"cache:update": "node -r dotenv/config -r esm ./scripts/updateCache.js",
"dev": "nodemon --exec \"node -r dotenv/config -r esm ./src\" --watch ./src",
"k8s": "yarn --silent --cwd .k8s",
"docker:restart": "yarn docker:stop && docker-compose up --build -d --force-recreate api",
"docker:start": "docker-compose up -d api",
"docker:stop": "docker-compose down",
"start": "cross-env NODE_ENV=production node -r dotenv/config -r esm ./src",
"test": "yarn test:lint && yarn test:type && yarn test:unit --silent && yarn test:swag",
"test:e2e": "jest --testPathIgnorePatterns=\"<rootDir>/src/\"",
"lint": "eslint .",
"test:lint": "yarn lint",
"test:swag": "swagger-cli validate ./src/documentation/index.json",
"test:type": "tsc",
"test:unit": "jest --testPathIgnorePatterns=\"<rootDir>/e2e/\"",
"test:update": "jest --testPathIgnorePatterns=\"<rootDir>/e2e/\" --updateSnapshot",
"test:watch": "yarn test:unit --watch"
},
"dependencies": {
"@koa/cors": "3.1.0",
"@koa/router": "9.4.0",
"@socialgouv/kali-data": "3.31.0",
"@socialgouv/legi-data": "2.331.0",
"cross-env": "7.0.3",
"dotenv": "8.2.0",
"esm": "3.2.25",
"fuse.js": "6.4.3",
"html-to-text": "5.1.1",
"koa": "2.13.0",
"npmlog": "4.1.2",
"redis": "3.0.2",
"unist-util-flat-filter": "1.0.0"
},
"devDependencies": {
"@babel/core": "7.12.9",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.12.7",
"@socialgouv/eslint-config-strict": "1.0.0-beta.5",
"@types/jest": "26.0.16",
"@types/koa": "2.11.6",
"@types/node": "14.14.10",
"@types/npmlog": "4.1.2",
"@types/redis": "2.8.28",
"axios": "0.21.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"eslint": "7.14.0",
"eslint-plugin-sort-requires": "2.1.0",
"husky": "4.3.0",
"jest": "26.6.3",
"nodemon": "2.0.6",
"prettier": "2.2.1",
"swagger-cli": "4.0.4",
"typescript": "3.9.7",
"waait": "1.0.5"
},
"husky": {
"hooks": {
"pre-push": "yarn test"
}
}
}