-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
95 lines (95 loc) · 2.47 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
{
"name": "@neuralegion/cvss",
"version": "0.0.0",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/NeuraLegion/cvss.git"
},
"author": {
"name": "Viachaslau Tyshkavets",
"email": "[email protected]"
},
"keywords": [
"security",
"typescript",
"score",
"cvss",
"cvssv3",
"cvss3"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/NeuraLegion/cvss/issues"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"files": [
"dist/**"
],
"main": "./dist/bundle.umd.js",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"clean": "rm -rf ./dist",
"semantic-release": "semantic-release",
"lint": "eslint -c .eslintrc --ext .ts src && eslint -c ./tests/.eslintrc --ext .ts tests",
"format": "prettier --check src tests",
"format:write": "prettier --write .",
"test": "cross-env TS_NODE_PROJECT=./tsconfig.spec.json mocha -r ts-node/register -r tsconfig-paths/register tests/**/*.spec.ts",
"build": "tsc && rollup -c rollup.config.js",
"prepublishOnly": "npm run build"
},
"homepage": "https://github.com/NeuraLegion/cvss#readme",
"dependencies": {
"tslib": "~2.4.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/debug": "^4.1.7",
"@types/mocha": "~9.1.1",
"@types/node": "~17.0.42",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"chai": "~4.3.6",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"mocha": "~10.0.0",
"nyc": "~15.1.0",
"prettier": "~2.6.2",
"rollup": "^2.75.6",
"rollup-plugin-typescript2": "^0.32.1",
"semantic-release": "^19.0.3",
"ts-node": "~10.8.1",
"typescript": "^4.7.3"
}
}