forked from danpalmer/danger-plugin-eslint
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.17 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": "@coursera/danger-plugin-eslint",
"description": "Eslint your code with Danger",
"author": {
"name": "Dan Palmer",
"email": "dan@danpalmer.me"
},
"repository": {
"type": "git",
"url": "https://github.com/danpalmer/danger-plugin-eslint.git"
},
"bugs": {
"url": "https://github.com/danpalmer/danger-plugin-eslint/issues"
},
"homepage": "https://github.com/danpalmer/danger-plugin-eslint#readme",
"keywords": ["danger", "danger-plugin", "eslint"],
"version": "0.1.0",
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"build": "tsc",
"test": "jest",
"predocs": "rm -rf docs/",
"docs": "esdoc -c .esdoc.json",
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"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\""
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"devDependencies": {
"@types/jest": "^19.2.4",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"danger": "*",
"husky": "^0.13.3",
"jest": "^20.0.1",
"lint-staged": "^3.4.1",
"prettier": "^1.3.1",
"semantic-release": "^8.2.0",
"ts-jest": "^20.0.0",
"tslint": "^5.4.3",
"typescript": "^2.3.2",
"validate-commit-msg": "^2.12.1"
},
"optionalDependencies": {
"esdoc": "^0.5.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.@(ts|tsx)": ["tslint --fix", "npm run prettier-write --", "git add"]
},
"jest": {
"moduleFileExtensions": ["ts", "tsx", "js", "json"],
"transform": {
".(ts|tsx|js|json)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": ["\\.snap$", "<rootDir>/node_modules/"]
},
"dependencies": {
"eslint": "^4.12.1"
}
}