-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.07 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
{
"name": "@lendi/ralph",
"description": "ralph is a CLI tool that automates security incident response",
"version": "1.0.5",
"license": "MIT",
"files": [
"lib"
],
"bin": {
"ralph": "lib/index.js"
},
"dependencies": {
"aws-sdk": "^2.395.0",
"cli-progress": "^3.4.0",
"dotenv": "^8.2.0",
"inquirer": "^6.2.1",
"pino": "^5.13.2",
"yargs": "^12.0.2"
},
"devDependencies": {
"@types/cli-progress": "^1.8.1",
"@types/inquirer": "^6.5.0",
"@types/jest": "^24.0.20",
"@types/node": "^12.11.7",
"@types/pino": "^5.8.13",
"@types/sinon": "^7.5.0",
"@types/yargs": "^13.0.3",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"aws-sdk-mock": "^4.5.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "3.0.9",
"jest": "^24.9.0",
"lint-staged": "9.4.2",
"markdownlint-cli": "^0.19.0",
"prettier": "^1.18.2",
"sinon": "^7.5.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typescript": "^3.7.3"
},
"scripts": {
"build": "tsc",
"cli": "ts-node --files src/index.ts",
"lint:fix:other": "yarn prettier --write",
"lint:fix:ts": "yarn lint:ts --fix",
"lint:fix:md": "markdownlint '**/*.md' --ignore node_modules --fix",
"lint:fix": "yarn lint:fix:ts && yarn lint:fix:other && yarn lint:fix:md",
"prettier": "prettier \"**/*.{json,scss,yaml,yml}\"",
"lint:other": "yarn prettier --list-different",
"lint:md": "markdownlint '**/*.md' --ignore node_modules",
"lint:ts": "eslint --ignore-path .gitignore --ignore-path .prettierignore \"**/*.ts\"",
"lint": "yarn lint:other && yarn lint:ts && yarn lint:md",
"test": "jest"
},
"lint-staged": {
"*.{ts}": [
"eslint --fix",
"git add"
],
"*.{json,scss,yaml,yml}": [
"prettier --write",
"git add"
],
"*.{md}": [
"markdownlint '**/*.md' --ignore node_modules --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}