forked from snyk/snyk-to-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.12 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
{
"name": "snyk-to-html",
"description": "Convert JSON output from `snyk test --json` into a static HTML report",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"build-watch": "tsc -w",
"format": "prettier --write 'src/*.{js,ts}' 'test/*.{js,ts}'",
"tap": "tap -Rspec",
"test": "npm run build && npm run lint && npm run tap",
"lint": "eslint --color --cache 'src/*.?s' 'test/*.?s' && npm run format:check",
"format:check": "prettier --check 'src/*.{js,ts}' 'test/*.{js,ts}'",
"report": "mkdir -p output && cat sample-data/test-report.json | node dist/. > output/test-report.html && open output/test-report.html",
"report:cve": "mkdir -p output && cat sample-data/test-report.json | node dist/. -t template/test-cve-report.hbs > output/test-report.html && open output/test-report.html",
"multi-report": "mkdir -p output && cat sample-data/multi-test-report.json | node dist/. > output/multi-test-report.html && open output/multi-test-report.html",
"prepare": "npm run build"
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"template"
],
"author": "Snyk Ltd",
"license": "Apache-2.0",
"dependencies": {
"chalk": "^2.4.2",
"commander": "^4.1.1",
"debug": "^4.1.1",
"handlebars": "^4.7.7",
"lodash.isempty": "^4.4.0",
"lodash.orderby": "^4.6.0",
"marked": "^4.0.12",
"moment": "^2.29.4",
"source-map-support": "^0.5.16",
"uglify-js": "^3.15.1"
},
"bin": {
"snyk-to-html": "dist/index.js"
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@types/chalk": "^2.2.0",
"@types/marked": "^0.6.5",
"@types/node": "^6.14.7",
"@typescript-eslint/eslint-plugin": "2.31.0",
"@typescript-eslint/parser": "2.31.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"prettier": "1.19.1",
"tap": "^14.10.7",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"typescript": "^3.7.3"
},
"repository": {
"type": "git",
"url": "https://github.com/snyk/snyk-to-html.git"
},
"pkg": {
"scripts": [
"dist/**/*.js"
],
"assets": [
"template/**/*.hbs"
]
}
}