-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
110 lines (110 loc) · 4.7 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
{
"name": "owasp-threat-dragon",
"version": "1.2.0",
"private": false,
"scripts": {
"build": "npm run-script bundle && npm run-script bundle-minify && npm run-script bundle-css && npm run-script bundle-minify-css && npm run-script copy-fonts",
"build-templates": "browserify -t [browserify-ng-html2js --module templates] ./td/public/app/templates.build.js -o ./td/public/app/templates.js",
"copy-fonts": "./node_modules/.bin/copyfiles -f ./node_modules/font-awesome/fonts/*.* ./node_modules/bootstrap/dist/fonts/*.* ./td/public/fonts",
"bundle-css": "./node_modules/.bin/rework-npm ./td/public/content/app.css -o ./td/public/content/threatdragon.css",
"minify-css": "./node_modules/.bin/uglifycss ./td/public/content/threatdragon.css > ./td/public/content/threatdragon.min.css",
"bundle-minify-css": "npm run-script bundle-css && npm run-script minify-css",
"bundle": "browserify --debug ./td/public/app/app.js -o ./td/public/app/threatdragon.js",
"bundle-minify": "browserify ./td/public/app/app.js -d -p [minifyify --map ./td/public/app/threatdragon.js.map --output ./td/public/app/threatdragon.js.map ] > ./td/public/app/threatdragon.min.js",
"start": "node server.js",
"pretest": "node ./node_modules/jshint/bin/jshint --verbose --show-non-errors td",
"test": "npm run-script test-client-firefox && npm run-script test-server",
"test-client-phantomjs": "./node_modules/.bin/karma start --single-run --browsers PhantomJS",
"test-client-firefox": "./node_modules/.bin/karma start --single-run --browsers Firefox",
"test-client-chrome": "./node_modules/.bin/karma start --single-run --browsers Chrome",
"test-client-ie": "./node_modules/.bin/karma start --single-run --browsers IE",
"test-server": "istanbul cover --include-all-sources -x public/** --root ./td/ --dir ./coverage/Server/ ./td.tests/serverspec/support/jasmine-runner.js",
"test-local": "npm run-script pretest && npm run-script test-client-chrome && npm run-script test-client-ie && npm run-script test-client-phantomjs && npm run-script test-client-firefox && npm run-script test-server",
"citest": "./node_modules/.bin/karma start --single-run false --browsers Firefox",
"codecov": "./node_modules/.bin/codecov",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"description": "OWASP Threat Dragon - a free, open source threat modelling tool",
"author": {
"name": "mike.goodwin",
"email": "[email protected]"
},
"license": "Apache-2.0",
"homepage": "http://docs.threatdragon.org/",
"repository": {
"type": "git",
"url": "git://github.com/mike-goodwin/owasp-threat-dragon.git"
},
"dependencies": {
"angular": "1.7.8",
"angular-animate": "1.7.8",
"angular-route": "1.7.8",
"angular-ui-bootstrap": "2.5.6",
"angular-xeditable": "^0.10.0",
"body-parser": "^1.19.0",
"bunyan": "1.8.12",
"connect-azuretables": "1.0.20",
"connect-ensure-login": "0.1.1",
"cookie-parser": "^1.4.4",
"csurf": "^1.10.0",
"express": "^4.17.1",
"express-bunyan-logger": "^1.3.3",
"express-session": "^1.16.2",
"font-awesome": "4.7.0",
"helmet": "^3.18.0",
"jquery": "^3.4.1",
"lodash": "^4.17.14",
"morgan": "1.9.1",
"octonode": "0.9.5",
"owasp-threat-dragon-core": "^1.2.0",
"passport": "0.4.0",
"passport-github": "1.1.0",
"pug": "^2.0.4",
"pug-bootstrap": "0.0.16",
"serve-favicon": "^2.5.0",
"snyk": "^1.298.1"
},
"devDependencies": {
"angular-mocks": "1.7.8",
"browserify": "^16.3.0",
"browserify-css": "^0.15.0",
"browserify-istanbul": "3.0.1",
"browserify-ng-html2js": "1.3.0",
"codecov": "^3.5.0",
"copyfiles": "^2.1.1",
"debug": "^4.1.1",
"istanbul": "0.4.5",
"jasmine": "^2.99.0",
"jasmine-core": "^3.4.0",
"jasmine-jquery": "2.1.1",
"jasmine-node": "^3.0.0",
"jasmine-spec-reporter": "4.2.1",
"jshint": "^2.10.2",
"karma": "^3.1.4",
"karma-browserify": "^6.0.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^1.1.2",
"karma-firefox-launcher": "^1.1.0",
"karma-ie-launcher": "1.0.0",
"karma-jasmine": "^2.0.1",
"karma-ng-html2js-preprocessor": "1.0.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-phantomjs-shim": "1.5.0",
"karma-spec-reporter": "0.0.32",
"karma-threshold-reporter": "^0.1.15",
"karma-xml-reporter": "0.1.4",
"minifyify": "7.3.5",
"mockery": "2.1.0",
"npm-html2js": "0.1.8",
"passport-local": "1.0.0",
"phantomjs-polyfill-find": "0.0.1",
"phantomjs-prebuilt": "2.1.16",
"requirejs": "^2.3.6",
"rework-npm-cli": "0.1.3",
"supertest": "^4.0.2",
"uglifycss": "0.0.29",
"watchify": "^3.11.1"
},
"snyk": true
}