-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 1.44 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
{
"name": "rails-playground",
"private": true,
"dependencies": {},
"devDependencies": {
"eslint-config-ybiquitous": "^6.2.0",
"ybiq": "^6.0.0"
},
"scripts": {
"lint:rb": "bundle exec rubocop --parallel",
"lint:rb:fix": "bundle exec rubocop --auto-correct",
"lint:rails": "bundle exec rails_best_practices --test",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.jsx,.mjs .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md --ignore \"vendor/bundle\" \"**/*.md\"",
"lint": "npm-run-all --print-label --parallel lint:*",
"test": "test",
"test:watch": "test --watch",
"test:coverage": "echo \"unsupported.\" && exit 1",
"lint:md:fix": "prettier --write \"**/*.md\"",
"release": "standard-version --sign",
"release:dry-run": "npm run release -- --dry-run"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{rb,rake,ru,jbuilder}": [
"bundle exec rubocop --force-exclusion --auto-correct",
"bundle exec rails_best_practices --test",
"git add"
],
"*.{js,jsx,mjs}": [
"eslint --fix --no-ignore",
"git add"
],
"*.md": [
"prettier --write",
"markdownlint",
"git add"
]
},
"ignore": [
"CHANGELOG.md"
]
}
}