-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 1.97 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 1.97 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
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
82
{
"name": "danger-plugin-commit-lint",
"description": "This is a Danger Plugin that ensures nice and tidy commit messages.",
"author": {
"name": "Ben Lorantfy",
"email": "benlorantfy@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/BenLorantfy/danger-plugin-commit-lint.git"
},
"bugs": {
"url": "https://github.com/BenLorantfy/danger-plugin-commit-lint/issues"
},
"homepage": "https://github.com/BenLorantfy/danger-plugin-commit-lint#readme",
"keywords": [
"danger",
"danger-plugin",
"commit",
"message",
"lint",
"linting"
],
"version": "1.2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"README.md",
"tsconfig.json",
"dist",
"LICENSE.md"
],
"scripts": {
"precommit": "lint-staged",
"build": "tsc",
"test": "jest",
"prettier": "prettier",
"prettier-write": "npm run prettier -- --parser typescript --no-semi --trailing-comma es5 --write --print-width 120",
"prettier-project": "npm run prettier-write -- 'src/**/*.{ts,tsx}'",
"lint": "tslint \"src/**/*.ts\"",
"prepublishOnly": "./scripts/check-on-master.sh && npm run test && npm run build"
},
"license": "MIT",
"engines": {
"node": ">=4.0.0"
},
"devDependencies": {
"@types/jest": "^24.0.9",
"danger": "*",
"danger-plugin-commit-lint": "^1.0.0",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.4",
"prettier": "^1.3.1",
"ts-jest": "^24.0.0",
"tslint": "^5.13.0",
"typescript": "^3.3.3333",
"validate-commit-msg": "^2.12.1"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"npm run prettier-write --",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/"
]
}
}