-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 835 Bytes
/
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
{
"scripts": {
"start": "rails server",
"rubocop": "bundle exec rubocop",
"haml-lint": "bundle exec haml-lint --exclude=vendor/**/*.haml",
"scss-lint": "bundle exec scss-lint --exclude=node_modules/**/*.scss",
"eslint": "eslint app/javascript",
"linters": "CMD='run-p -l' yarn linters:base",
"linters:base": "$CMD rubocop haml-lint scss-lint eslint"
},
"engines": {
"node": "20.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"eslint": "^7.4.0",
"husky": "^7.0.4",
"lint-staged": "^12.4.0"
},
"lint-staged": {
"*.js": "eslint",
"*.rb": "rubocop",
"*.haml": "haml-lint"
},
"dependencies": {
"@rails/actiontext": "^7.1.1",
"marked": "^4.0.18",
"trix": "^2.0.7"
},
"pre-commit": "linters",
"packageManager": "[email protected]"
}