-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.65 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.65 KB
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
{
"name": "cve-core",
"version": "2.2.0-rc4",
"description": "CVE npm package for working with CVEs",
"type": "module",
"engines": {
"node": ">= 16.20.2 < 22"
},
"devDependencies": {
"@types/jest": "~27.5",
"@types/node": "^18.16.0",
"@types/validator": "^13.15.2",
"@typescript-eslint/eslint-plugin": "~5.26",
"@typescript-eslint/parser": "~5.26",
"@vercel/ncc": "^0.36.1",
"eslint": "~8.16",
"eslint-config-prettier": "~8.5",
"eslint-plugin-jest": "~26.2",
"jest": "~28.1",
"prettier": "~2.6",
"rimraf": "~3.0",
"ts-jest": "~28.0",
"tsup": "^8.4.0",
"tsutils": "~3.21",
"typescript": "~4.7"
},
"scripts": {
"setup": "npm i && npm run clean && npm run build:cli && npm run build:pkg",
"start": "node release/index.js",
"clean": "rimraf coverage build tmp dist release lib-cjs lib-esm",
"build": "npm i && npm run build:cli && npm run build:pkg",
"build:all": "npm run build:cli && npm run build:cli:release && npm run build:pkg",
"build:cli": "npx ncc build ./src/main.ts --out dist --source-map",
"build:cli:release": "npx ncc build ./src/main.ts --out release --minify",
"build:pkg": "npm run build:pkg:cjs && npm run build:pkg:esm",
"build:pkg:cjs": "npx tsup ./index.ts --format cjs --dts --clean --sourcemap --out-dir lib-cjs",
"build:pkg:esm": "npx tsup ./index.ts --format esm --dts --clean --sourcemap --out-dir lib-esm",
"build:awslayer": "npm i && npm run build:pkg && rimraf node_modules package-lock.json && npm i --omit=dev",
"lint": "eslint . --ext .ts --ext .mts",
"test": "NODE_CONFIG_ENV=devel jest --watch",
"test:serial": "NODE_CONFIG_ENV=devel jest --runInBand --watch",
"test:downstream": "NODE_CONFIG_ENV=devel npm --prefix ../cve-pkg-tester run test",
"prettier": "prettier --config .prettierrc --write .",
"prep:publish": "npm pack --dry-run",
"coverage": "jest --coverage"
},
"license": "(CC0)",
"dependencies": {
"@commander-js/extra-typings": "^10.0.2",
"@opensearch-project/opensearch": "^2.3.1",
"adm-zip": "^0.5.10",
"axios": "^1.6.0",
"axios-retry": "^4.4.1",
"commander": "^10.0.0",
"config": "^4.0.0",
"date-fns": "^2.29.3",
"date-fns-tz": "^2.0.0",
"dotenv": "^16.0.1",
"fetch-retry": "^6.0.0",
"glob": "^11.0.1",
"json-difference": "^1.16.1",
"lodash.clonedeep": "^4.5.0",
"lodash.isequal": "^4.5.0",
"lodash.isinteger": "^4.0.4",
"lodash.map": "^4.6.0",
"lodash.omit": "^4.5.0",
"lodash.reduce": "^4.6.0",
"lodash.truncate": "^4.4.2",
"lodash.unset": "^4.5.2",
"semver": "^7.7.2",
"simple-git": "^3.19.1",
"ts-pattern": "^4.0.5",
"tslib": "~2.4",
"validator": "^13.15.20"
},
"volta": {
"node": "16.13.0"
},
"author": "MITRE@The CVE Program (https://www.cve.org/PartnerInformation/ListofPartners/partner/mitre)",
"contributors": [
"Howard Kong <hkong@mitre.org>",
"Noah Jaffe <njaffe@mitre.org>",
"Ann Tu Linh <ann.linh@mitre.org>",
"Jeremy T Daigneau <jdaigneau@mitre.org>",
"Andrew Foote <afoote@mitre.org>"
],
"files": [
"lib-esm",
"lib-cjs",
"dist",
".env-EXAMPLE",
"LICENSE",
"README.md"
],
"keywords": [
"cve",
"cve-core",
"cve-services",
"cvelistV5",
"typescript"
],
"homepage": "https://cve.org",
"repository": {
"type": "git",
"url": "https://github.com/CVEProject/cve-core"
},
"bugs": {
"url": "https://github.com/CVEProject/cve-core/issues"
},
"main": "./dist/index.js",
"bin": {
"cves": "./dist/index.js"
},
"exports": {
"import": "./lib-esm/index.js",
"require": "./lib-cjs/index.cjs"
}
}