forked from mike-goodwin/owasp-threat-dragon-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 5.16 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "threatdragon",
"productName": "OWASP-Threat-Dragon",
"version": "1.1.0",
"description": "Desktop version OWASP Threat Dragon",
"main": "main.js",
"scripts": {
"start": "./node_modules/.bin/electron .",
"build-content": "npm run copy-fonts && npm run bundle-minify-css",
"copy-fonts": "./node_modules/.bin/copyfiles -f ./node_modules/font-awesome/fonts/*.* ./node_modules/bootstrap/dist/fonts/*.* ./fonts",
"bundle-css": "./node_modules/.bin/rework-npm ./content/app.css -o ./content/threatdragon.css",
"minify-css": "./node_modules/.bin/uglifycss ./content/threatdragon.css > ./content/threatdragon.min.css",
"bundle-minify-css": "npm run-script bundle-css && npm run-script minify-css",
"pretest": "node ./node_modules/jshint/bin/jshint --verbose --show-non-errors app",
"test": "./node_modules/.bin/karma start --single-run --browsers Electron",
"citest": "./node_modules/.bin/karma start --single-run false --browsers Electron",
"codecov": "./node_modules/.bin/codecov",
"build-all": "npm run build-win && npm run build-osx && npm run build-lin",
"build-win": "npm run package-win && npm run installer-win",
"build-osx": "npm run package-osx && npm run installer-osx",
"build-lin": "npm run package-lin && npm run installer-lin",
"installer-win": "node ./installer-win.js",
"installer-osx": "node ./installer-osx.js",
"installer-lin": "node -e 'require(\"./installer-lin\").all()'",
"package-osx": "./node_modules/.bin/electron-packager . --asar --overwrite --out=./packages --ignore=\"installers|tests|.vscode|coverage\" --platform=darwin --arch=x64 --prune=true --icon=cupcakes.icns",
"package-lin": "./node_modules/.bin/electron-packager . --asar --overwrite --out=./packages --ignore=\"installers|tests|.vscode|coverage\" --platform=linux --arch=x64 --prune=true --icon=cupcakes1024x1024.png --executableName=threatdragon",
"package-win": "./node_modules/.bin/electron-packager . --asar --overwrite --out=./packages --ignore=\"installers|tests|.vscode|coverage\" --platform=win32 --arch=x64 --prune=true --icon=cupcakes.ico --win32metadata.CompanyName=OWASP --win32metadata.FileDescription=\"OWASP Threat Dragon\" --win32metadata.ProductName=\"OWASP Threat Dragon\"",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect",
"dist": "electron-builder -mwl --publish always"
},
"build": {
"publish": {
"provider": "github"
},
"mac": {
"target": "dmg"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"ia32",
"x64"
]
}
],
"target": [
{
"target": "snap",
"arch": [
"ia32",
"x64"
]
}
],
"target": [
{
"target": "deb",
"arch": [
"ia32",
"x64"
]
}
],
"target": [
{
"target": "rpm",
"arch": [
"ia32",
"x64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"ia32",
"x64"
]
}
]
}
},
"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-desktop.git"
},
"dependencies": {
"angular": "1.7.9",
"angular-animate": "1.7.8",
"angular-route": "1.7.8",
"angular-ui-bootstrap": "2.5.6",
"angular-xeditable": "0.9.0",
"any-promise": "1.3.0",
"bootstrap": "3.4.1",
"electron-squirrel-startup": "1.0.0",
"font-awesome": "4.7.0",
"jquery": "3.4.0",
"lodash": "4.17.12",
"owasp-threat-dragon-core": "0.8.0",
"promise-fs": "2.1.0",
"snyk": "^1.295.0"
},
"devDependencies": {
"angular-mocks": "1.7.8",
"browserify": "14.5.0",
"browserify-css": "0.14.0",
"browserify-istanbul": "3.0.1",
"browserify-ng-html2js": "1.3.0",
"codecov": "3.6.5",
"copyfiles": "1.2.0",
"electron": "5.0.5",
"electron-builder": "^22.4.1",
"electron-debug": "3.0.0",
"electron-installer-dmg": "^3.0.0",
"electron-packager": "13.1.1",
"electron-winstaller": "3.0.4",
"eslint": "^5.4.0",
"istanbul": "0.4.5",
"jasmine": "2.8.0",
"jasmine-core": "2.8.0",
"jasmine-jquery": "2.1.1",
"jasmine-node": "1.14.5",
"jasmine-spec-reporter": "4.2.1",
"jshint": "2.9.5",
"karma": "1.7.1",
"karma-browserify": "5.1.2",
"karma-coverage": "1.1.1",
"karma-electron": "6.1.1",
"karma-jasmine": "1.1.1",
"karma-ng-html2js-preprocessor": "1.0.0",
"karma-spec-reporter": "0.0.31",
"karma-threshold-reporter": "^0.1.15",
"karma-xml-reporter": "0.1.4",
"requirejs": "2.3.5",
"rework-npm-cli": "0.1.3",
"uglifycss": "0.0.27",
"watchify": "3.9.0"
},
"optionalDependencies": {
"electron-installer-redhat": "~2.0.0",
"electron-installer-debian": "~2.0.0",
"electron-installer-snap": "~4.0.0"
},
"snyk": true
}