-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
59 lines (59 loc) · 1.36 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
{
"name": "email_validator",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0",
"yarn": ">=1.17.3"
},
"dependencies": {
},
"version": "2.1.0",
"devDependencies": {
"editorconfig-checker": "^3.0.3",
"husky": "^2.0.0",
"lint-staged": "^6.0.0",
"markdownlint": "^0.16.0",
"markdownlint-cli": "^0.18.0",
"prettier": "^1.11.0",
"yaml-lint": "^1.2.4"
},
"lint-staged": {
"linters": {
"*.{json,graphql}": [
"prettier"
],
"*.md": [
"bundle exec mdl"
],
"{Gemfile,*.{rb,erb}}": [
"bundle exec rubocop --force-exclusion"
],
"*.{yml,yaml}": [
"yamllint"
],
"*": [
"editorconfig-checker -exclude '/^.*.lock$/'"
]
},
"ignore": [
"**/dist/*.min.js",
"**/node_modules/*",
"**/vendor/*"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn run test-rb && lint-staged"
}
},
"scripts": {
"lint-rb": "bundle exec rubocop .",
"lint-md": "bundle exec mdl --git-recurse node_modules . ",
"lint-yaml": "yamllint ./**/*.{yml,yaml}",
"lint": "yarn run lint-rb && yarn run lint-md && yarn run lint-yaml && editorconfig-checker",
"ruby-tests": "bundle exec rspec .",
"test": "yarn run tests",
"tests": "yarn run lint && yarn run ruby-tests",
"test-rb": "yarn run ruby-tests"
}
}