-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.57 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
82
83
84
85
86
87
88
89
90
91
{
"name": "danger-plugin-toolbox",
"version": "1.17.1",
"description": "Danger Plugin Toolbox is a Danger JS plugin containing a set of common validations and utilities, build to make it easy to start using Danger JS.",
"license": "MIT",
"engines": {
"node": "^12.14.1",
"npm": "^6.13.4"
},
"repository": {
"type": "git",
"url": "git@github.com:sogame/danger-plugin-toolbox.git"
},
"bugs": {
"url": "https://github.com/sogame/danger-plugin-toolbox/issues"
},
"homepage": "https://github.com/sogame/danger-plugin-toolbox#readme",
"author": {
"email": "sogame@gmail.com",
"name": "Sogame"
},
"keywords": [
"danger",
"danger-plugin"
],
"main": "dist/index.js",
"scripts": {
"build": "babel src --out-dir dist --ignore *.test.js,**/__mocks__/",
"danger": "danger ci --failOnErrors",
"format:packagejson": "format-package -w",
"lint": "npm run lint:staged -- --ext .js .",
"lint:fix": "npm run lint -- --fix",
"lint:fix:staged": "npm run lint:staged -- --fix",
"lint:staged": "eslint",
"release": "node ./scripts/release.js",
"spellcheck": "mdspell --report --en-gb --ignore-numbers --ignore-acronyms --no-suggestions",
"spellcheck:ci": "npm run spellcheck -- '**/*.md' '!**/node_modules/**/*.md'",
"pretest": "npx ensure-node-env",
"test": "jest --silent=false",
"test:coverage": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"update:changelog": "node ./scripts/update-changelog"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"**/!(package|package-lock).json": "prettier --write",
"*.js": "npm run lint:fix:staged --",
"*.md": [
"npm run spellcheck",
"prettier --write"
],
"package.json": "npm run format:packagejson"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/utils/index.js",
"!src/index.js"
],
"coverageThreshold": {
"global": {
"branches": 100
}
},
"setupFilesAfterEnv": [
"<rootDir>/setupTests.js"
]
},
"devDependencies": {
"ajv": "^6.11.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-preset-env": "^1.7.0",
"danger": "^9.2.10",
"eslint-config-skyscanner-with-prettier": "^0.8.0",
"format-package": "^5.2.0",
"husky": "^4.2.1",
"inquirer": "^7.0.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.2",
"markdown-spellcheck": "^1.3.1",
"release-it": "^12.4.3",
"semver": "^7.1.1"
}
}