-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
81 lines (81 loc) · 2.05 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
{
"name": "pull_request_label_enforcer",
"description": "A github app to enforce labels on pull request",
"main": "./lib/index.js",
"typings": "./lib/index",
"keywords": [
"probot",
"github",
"pull requests",
"enforce labels on pull requests"
],
"author": "Nishchal Gautam <[email protected]>",
"license": "GPL",
"repository": {
"type": "git",
"url": "[email protected]:fossapps/pr_label_enforcer.git"
},
"homepage": "https://github.com/fossapps/pr_label_enforcer",
"dependencies": {
"dotenv": "^8.0.0",
"hbs": "^4.0.4",
"probot": "^9.2.19"
},
"devDependencies": {
"@octokit/webhooks": "^7.0.0",
"@types/handlebars": "^4.1.0",
"@types/jest": "^24.0.15",
"@types/node": "^14.0.0",
"del-cli": "^3.0.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"ts-jest": "^25.1.0",
"tslint": "^5.11.0",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.1.3",
"validate-commit-msg": "^2.14.0"
},
"scripts": {
"prestart": "npm run build",
"start": "node ./lib/server.js",
"test": "jest",
"test:no-cache": "jest --no-cache",
"test:watch": "jest --watch",
"build": "npm run clean && tsc -p .",
"clean": "del-cli ./lib ./coverage",
"lint": "tslint -t stylish --project tsconfig.json './src/**/*.ts'",
"lint:fix": "npm run lint -s -- --fix"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"cacheDirectory": "<rootDir>/.jest/cache",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
],
"coverageDirectory": "<rootDir>/coverage",
"coveragePathIgnorePatterns": [
"index.ts",
"AppConfig.ts",
"server.ts"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleDirectories": [
"node_modules",
"./"
]
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "npm run lint -s",
"pre-push": "npm run build -s && npm run test -s"
}
}
}