-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 963 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
33
34
35
36
37
38
39
40
{
"name": "cardeons-backend",
"private": true,
"dependencies": {
"@rails/actioncable": "^6.0.0",
"@rails/activestorage": "^6.0.0",
"@rails/ujs": "^6.0.0",
"@rails/webpacker": "4.2.2",
"jquery": "^3.5.1",
"turbolinks": "^5.2.0"
},
"husky": {
"hooks": {
"pre-commit": "git-format-staged -f 'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"' ."
}
},
"scripts": {
"precommit": "lint-staged",
"start": "foreman start -f Procfile.dev"
},
"lint-staged": {
"app/**/*.{js,es6,jsx,scss,css}": [
"./node_modules/prettier/bin/prettier.js --trailing-comma --single-quote es5 --write",
"git add"
],
"{app,test}/**/*.rb": [
"bundle exec rubocop -a",
"git add"
]
},
"devDependencies": {
"git-format-staged": "^2.1.1",
"lint-staged": "^10.5.3",
"prettier": "2.2.1",
"webpack-dev-server": "^3.11.1"
},
"engines": {
"node": ">=10.15.3"
}
}