-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 1.95 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": "@fossapps/handlebars.templates",
"description": "",
"main": "./lib/index.js",
"typings": "./lib/index",
"keywords": [],
"author": "@cyberhck",
"license": "GPL",
"repository": {
"type": "git",
"url": "https://github.com/fossapps/Handlebars-Issue-and-Pull-Requests.git"
},
"homepage": "https://github.com/fossapps/Handlebars-Issue-and-Pull-Requests",
"dependencies": {
"dotenv": "^8.0.0",
"handlebars": "^4.3.0",
"hbs": "^4.0.4",
"probot": "^9.2.19"
},
"devDependencies": {
"@octokit/webhooks": "^6.2.2",
"@types/handlebars": "^4.1.0",
"@types/jest": "^24.0.15",
"@types/node": "^13.1.0",
"del-cli": "^3.0.0",
"husky": "^4.0.2",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"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"
}
}
}