forked from snyk/snyk-to-html
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
54 lines (54 loc) · 1.56 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
{
"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",
"tap": "tap test/*.test.* -Rspec --timeout=180 --node-path ts-node --test-file-pattern '/\\.[tj]s$/'",
"test": "snyk test && npm run lint && npm run tap",
"lint": "tslint --project tsconfig.json --format stylish --exclude **/src/**/*.js",
"report": "mkdir -p output && cat sample-data/test-report.json | node dist/. > 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": "",
"license": "ISC",
"dependencies": {
"commander": "^4.1.0",
"handlebars": "^4.5.3",
"marked": "^0.7.0",
"moment": "^2.24.0",
"source-map-support": "^0.5.16"
},
"bin": {
"snyk-to-html": "dist/index.js"
},
"snyk": true,
"devDependencies": {
"@types/marked": "^0.6.5",
"@types/node": "^6.14.7",
"snyk": "^1.235.0",
"tap": "github:snyk/node-tap#alternative-runtimes",
"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"
]
}
}