forked from OpenTermsArchive/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.89 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@opentermsarchive/engine",
"version": "2.2.1",
"description": "Tracks and makes visible changes to the terms of online services",
"homepage": "https://opentermsarchive.org",
"bugs": {
"url": "https://github.com/OpenTermsArchive/engine/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/OpenTermsArchive/engine.git"
},
"license": "EUPL-1.2",
"author": "Open Terms Archive contributors",
"type": "module",
"exports": {
".": "./src/exports.js",
"./fetch": "./src/archivist/fetcher/exports.js",
"./extract": "./src/archivist/extract/exports.js",
"./sourceDocument": "./src/archivist/services/sourceDocument.js"
},
"bin": {
"ota": "./bin/ota.js"
},
"files": [
"bin",
"config",
"scripts",
"src",
".eslintrc.yaml"
],
"scripts": {
"changelog": "node scripts/changelog/index.js",
"commit-messages:lint": "commitlint --from=main --to=HEAD",
"dataset:generate": "node bin/ota.js dataset",
"dataset:release": "node bin/ota.js dataset --publish --remove-local-copy",
"dataset:scheduler": "npm run dataset:release -- --schedule",
"declarations:lint": "node bin/ota.js lint",
"declarations:validate": "node bin/ota.js validate",
"declarations:validate:schema": "npm run declarations:validate -- --schema-only",
"lint": "eslint src test scripts bin",
"lint:fix": "npm run lint -- --fix",
"start": "node -r dotenv/config --max-http-header-size=32768 bin/ota.js track",
"start:api": "node bin/ota.js serve",
"start:scheduler": "npm start -- --schedule",
"test": "cross-env NODE_ENV=test mocha --recursive \"./src/**/*.test.js\" \"./scripts/**/*.test.js\" --exit",
"posttest": "npm run lint",
"test:debug": "npm run test -- --inspect-brk --exit"
},
"dependencies": {
"@accordproject/markdown-cicero": "^0.15.2",
"@accordproject/markdown-pdf": "^0.15.2",
"@opentermsarchive/fetch-charset-detection": "^1.0.1",
"@opentermsarchive/turndown": "^7.1.3",
"@stylistic/eslint-plugin-js": "^1.4.1",
"abort-controller": "^3.0.0",
"ajv": "^6.12.6",
"archiver": "^5.3.0",
"async": "^3.2.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-exclude": "^2.1.0",
"commander": "^9.4.1",
"config": "^3.3.6",
"croner": "^8.0.2",
"cronstrue": "^2.50.0",
"cross-env": "^7.0.3",
"datauri": "^4.1.0",
"dotenv": "^10.0.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
"fs-extra": "^10.0.0",
"helmet": "^6.0.1",
"http-proxy-agent": "^5.0.0",
"https": "^1.0.0",
"https-proxy-agent": "^5.0.0",
"iconv-lite": "^0.6.3",
"joplin-turndown-plugin-gfm": "^1.0.12",
"jsdom": "^18.1.0",
"json-source-map": "^0.6.1",
"lodash": "^4.17.21",
"mime": "^2.5.2",
"mocha": "^9.1.3",
"mongodb": "^4.9.0",
"morgan": "^1.10.0",
"node-fetch": "^3.1.0",
"octokit": "^1.7.0",
"pdfjs-dist": "^2.9.359",
"puppeteer": "^22.8.1",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"sib-api-v3-sdk": "^8.2.1",
"simple-git": "^3.8.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"winston": "^3.3.3",
"winston-mail": "^2.0.0",
"axios": "^1.7.2"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"dir-compare": "^4.0.0",
"keep-a-changelog": "^2.5.3",
"nock": "^13.2.1",
"node-stream-zip": "^1.15.0",
"prettier": "^2.2.1",
"semver": "^7.6.0",
"sinon": "^12.0.1",
"sinon-chai": "^3.7.0",
"supertest": "^6.3.3"
},
"peerDependencies": {
"@opentermsarchive/terms-types": "^1.0.0"
},
"engines": {
"node": ">=16.0.0"
}
}