-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.02 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 1.02 KB
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
{
"name": "prlint-serverless",
"version": "1.0.0",
"description": "Serverless PR Lint",
"main": "index.js",
"scripts": {
"start": "functions-framework --target=prLint",
"lint": "eslint '**/*.js' --fix",
"format": "prettier --write '**/*.js'"
},
"author": "ArvinH",
"license": "MIT",
"dependencies": {
"@google-cloud/functions-framework": "^1.5.1",
"jsonwebtoken": "^8.5.1",
"node-fetch": "^3.1.1"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"lint-staged": "^10.2.9",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.js": [
"npm run format",
"npm run lint"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}