-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.67 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
{
"name": "ingester",
"version": "1.8.9",
"dependencies": {
"@shared/graphql-client": "^1.8.9",
"@shared/id-generator": "^1.8.9",
"@socialgouv/cdtn-slugify": "^4.45.0",
"@socialgouv/cdtn-sources": "^4.45.0",
"get-uri": "^3.0.2",
"got": "^11.8.2",
"gunzip-maybe": "^1.4.2",
"p-retry": "^4.6.1",
"query-string": "^7.0.1",
"remark": "^13.0.0",
"remark-html": "^13.0.1",
"semver": "^7.3.5",
"tar-fs": "^2.1.1",
"unist-util-find": "^1.0.2",
"unist-util-parents": "^1.0.3",
"unist-util-select": "^3.0.4",
"winston": "^3.3.3",
"yargs": "^17.1.1"
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@socialgouv/contributions-data-types": "^3.27.0",
"@socialgouv/eslint-config-typescript": "^1.75.0",
"@socialgouv/fiches-travail-data-types": "^4.162.0",
"@socialgouv/fiches-vdd-types": "^2.169.0",
"@socialgouv/kali-data-types": "^2.107.0",
"@socialgouv/legi-data-types": "^2.62.0",
"@types/gunzip-maybe": "^1.4.0",
"@types/jest": "^26.0.24",
"@types/node": "^14.17.6",
"@types/semver": "^7.3.8",
"@types/tar-fs": "^2.0.1",
"@types/unist": "^2.0.6",
"@vercel/ncc": "0.28.6",
"babel-jest": "^27.0.6",
"eslint": "^7.30.0",
"jest": "^27.0.6",
"lint-staged": "^11.0.1",
"prettier": "^2.3.2",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
},
"license": "MIT",
"main": "dist/index.js",
"private": true,
"scripts": {
"build": "ncc build ./src/cli.ts -o ./dist -s",
"clean": "rm -rf data/*",
"cli:dev": "HASURA_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET=admin1 ncc run -s src/cli.ts",
"cli:prod": "HASURA_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET=admin1 yarn start",
"lint": "eslint .",
"precommit": "lint-staged",
"prepush": "yarn build && yarn lint && yarn test --bail --changedSince=master",
"start": "node --enable-source-maps --unhandled-rejections=strict dist/index.js",
"test": "jest --passWithNoTests",
"types": "tsc"
},
"jest": {
"clearMocks": true,
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/**/*.ts",
"!**/node_modules/**"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/data/"
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
]
},
"lint-staged": {
"*.{j,t}s": [
"eslint --cache --fix",
"jest --bail --findRelatedTests"
]
}
}