-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
61 lines (61 loc) · 1.53 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
{
"name": "joi-security",
"version": "0.4.1",
"description": "Detect security flaws in Joi validation schemas",
"repository": {
"url": "https://github.com/Saluki/joi-security"
},
"source": "./dist/lib/main.js",
"main": "./src/web/build.js",
"type": "module",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "ts-node src/cli/main.ts",
"clean": "rimraf ./dist",
"build": "npm run clean && tsc",
"build-web": "parcel build --target web",
"lint": "eslint -c .eslintrc.cjs src/**/*.ts",
"prepublishOnly": "npm run build",
"prepare": "husky install"
},
"targets": {
"web": {
"context": "browser",
"outputFormat": "esmodule",
"includeNodeModules": true,
"optimize": true,
"isLibrary": true,
"sourceMap": false,
"distDir": "./src/web"
}
},
"author": "Saluki",
"license": "AGPL-3.0",
"bin": {
"joi-security": "./dist/cli/main.js"
},
"dependencies": {
"chalk": "^5.2.0",
"joi": "^17.9.2",
"lodash-es": "^4.17.21",
"randexp": "^0.5.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/lodash-es": "^4.17.7",
"@types/node": "^16.0.0",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"eslint-plugin-import": "^2.27.5",
"husky": "^8.0.3",
"parcel": "^2.8.3",
"rimraf": "^5.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.0"
},
"browserslist": "> 0.5%, last 2 versions, not dead"
}