forked from juice-shop/juice-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 4.45 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
{
"name": "juice-shop",
"version": "16.0.0",
"private": true,
"description": "Probably the most modern and sophisticated insecure web application",
"keywords": [
"web security",
"web application security",
"webappsec",
"owasp",
"pentest",
"pentesting",
"security",
"vulnerable",
"vulnerability",
"broken",
"bodgeit",
"ctf",
"capture the flag",
"awareness"
],
"homepage": "https://owasp-juice.shop",
"bugs": {
"url": "https://github.com/juice-shop/juice-shop/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/juice-shop/juice-shop.git"
},
"license": "MIT",
"author": "Björn Kimminich <bjoern.kimminich@owasp.org> (https://kimminich.de)",
"contributors": [
"Björn Kimminich",
"Jannik Hollenbach",
"Aashish683",
"greenkeeper[bot]",
"MarcRler",
"agrawalarpit14",
"Scar26",
"ShubhamPalriwala",
"CaptainFreak",
"JuiceShopBot",
"Supratik Das",
"the-pro",
"Ziyang Li",
"Timo Pagel",
"aaryan10",
"..."
],
"scripts": {
"build:frontend": "cd frontend && node ./node_modules/@angular/cli/bin/ng build --aot --configuration production --output-hashing=none --vendor-chunk=true --source-map=false",
"build:server": "tsc",
"cypress:open": "cypress open",
"frisby": "nyc --report-dir=./build/reports/coverage/api-tests jest --silent --runInBand --forceExit",
"lint": "eslint *.ts data lib models routes test/**/*.ts views && cd frontend && ng lint && npx stylelint \"**/*.scss\" && cd ..",
"lint:config": "schema validate -s config.schema.yml",
"lint:fix": "eslint *.ts data lib models routes test/**/*.ts views rsn --fix && cd frontend && ng lint --fix && npx stylelint \"**/*.scss\" --fix && cd ..",
"package": "grunt package",
"package:ci": "npm prune --production && npm dedupe && cd frontend && npm prune --legacy-peer-deps --production && cd .. && npm run --silent sbom && grunt package",
"serve": "concurrently --kill-others \"ts-node app.ts\" \"cd frontend && ng serve\"",
"serve:dev": "concurrently --kill-others \"ts-node-dev app.ts\" \"cd frontend && ng serve\"",
"start": "node build/app",
"test": "cd frontend && ng test --watch=false --source-map=true && cd .. && npm run test:server",
"test:chromium": "cd frontend && ng test --watch=false --source-map=false --browsers=ChromiumHeadless && cd .. && npm run test:server",
"test:server": "nyc --report-dir=./build/reports/coverage/server-tests mocha -r ts-node/register -r source-map-support/register --recursive test/server/**/*.ts",
"test:api": "npm run frisby",
"rsn": "ts-node rsn/rsn.ts",
"rsn:verbose": "ts-node rsn/rsn-verbose.ts",
"rsn:update": "ts-node rsn/rsn-update.ts",
"vagrant": "cd vagrant && vagrant up",
"sbom": "npm run sbom:json && npm run sbom:xml",
"sbom:json": "cyclonedx-npm --omit=dev --output-format=JSON --output-file=bom.json",
"sbom:xml": " cyclonedx-npm --omit=dev --output-format=XML --output-file=bom.xml"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"diagnostics": false
}
},
"globalSetup": "./test/apiTestsSetup.ts",
"globalTeardown": "./test/apiTestsTeardown.ts",
"modulePathIgnorePatterns": [
"/build"
],
"setupFilesAfterEnv": [
"./test/apiTestsSetupJest.ts"
],
"testMatch": [
"<rootDir>/test/api/*Spec.[jt]s"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/frontend/node_modules/"
],
"testURL": "http://localhost"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"lib/*.ts",
"models/*.ts",
"routes/*.ts",
"server.ts"
],
"reporter": [
"lcov",
"text-summary"
]
},
"dependencies": {
"express-basic-auth": "1.1.7",
"lodash-es": "4.17.4",
"body-parser": "^1.20.2",
"check-dependencies": "^1.1.0",
"check-internet-connected": "^2.0.6",
"clarinet": "^0.12.5",
"colors": "1.4.0",
"compression": "^1.7.4",
"concurrently": "^5.3.0",
"config": "^3.3.7",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dottie": "^2.0.2"
},
"engines": {
"node": "18 - 21"
},
"os": [
"win32",
"linux",
"darwin",
"freebsd",
"openbsd"
],
"cpu": [
"x64",
"x32",
"arm64",
"arm"
],
"heroku-run-build-script": true,
"standard": {
"global": [
"angular",
"inject"
]
}
}