-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
84 lines (84 loc) · 2.18 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
{
"name": "@socialgouv/cdtn-monolog",
"description": "CDTN log management : index logs and generate reports.",
"publishConfig": {
"access": "public"
},
"main": "./lib/index.js",
"sideEffects": false,
"version": "1.5.8",
"homepage": "https://github.com/SocialGouv/cdtn-monolog",
"repository": {
"type": "git",
"url": "https://github.com/SocialGouv/cdtn-monolog.git"
},
"files": [
"lib"
],
"license": "Apache-2.0",
"scripts": {
"dev": "jest --watch",
"lint": "eslint src/ --ext .ts --fix",
"test": "jest",
"test-one": "jest analysis --watch",
"monolog": "node -r ts-node/register --max-old-space-size=16000 src/index.ts",
"build:bin": "yarn run ncc build src/bin/index.ts -o bin",
"build:lib": "yarn tsc -p src/tsconfig.lib.json",
"start": "node ./bin/index.js",
"check:types": "tsc"
},
"dependencies": {
"@elastic/elasticsearch": "^7.13.0",
"@socialgouv/cdtn-logger": "^1.7.7",
"@socialgouv/cdtn-sources": "^4.52.1",
"data-forge": "^1.8.17",
"data-forge-fs": "^0.0.9",
"date-fns": "^2.23.0",
"esm": "^3.2.25",
"fp-ts": "^2.11.1",
"murmurhash-js": "^1.0.0",
"node-fetch": "^2.6.1",
"p-queue": "^6.6.2",
"winston": "^3.3.3",
"yargs": "^17.0.1"
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@socialgouv/eslint-config-recommended": "^1.83.1",
"@types/jest": "^26.0.24",
"@types/murmurhash-js": "^1.0.3",
"@types/node-fetch": "^2.5.12",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@vercel/ncc": "^0.29.0",
"eslint": "^7.32.0",
"esm": "^3.2.25",
"husky": "^4.3.8",
"jest": "^26.6.3",
"prettier": "^2.3.2",
"ts-jest": "^26.5.6",
"ts-node": "^10.1.0",
"typescript": "4.3.5"
},
"jest": {
"testTimeout": 30000,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.test.tsx?$",
"moduleFileExtensions": [
"js",
"ts",
"json"
]
},
"husky": {
"hooks": {
"pre-commit": "eslint src/ --ext .ts"
}
}
}