-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.59 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
{
"name": "app",
"private": true,
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@hotwired/turbo-rails": "^8.0.3",
"@popperjs/core": "^2.11.8",
"@rails/actiontext": "7.1.3-2",
"autoprefixer": "^10.4.18",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"esbuild": "^0.20.1",
"nodemon": "^3.1.0",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"sass": "^1.71.1",
"trix": "^2.0.10"
},
"devDependencies": {
"@prettier/plugin-ruby": "^4.0.4",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
},
"scripts": {
"build": "esbuild app/javascript/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets",
"build:css:compile": "sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules",
"build:css:prefix": "postcss ./app/assets/builds/application.css --use=autoprefixer --output=./app/assets/builds/application.css",
"build:css": "yarn build:css:compile && yarn build:css:prefix",
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"yarn build:css\"",
"prepare": "husky install"
},
"lint-staged": {
"{app,lib,spec,test}/**/*.rb": [
"./node_modules/.bin/prettier --plugin=@prettier/plugin-ruby --write",
"./bin/bundle exec rubocop -a"
],
"spec/**/*_spec.rb": "rspec",
"app/**/*.{json,js,jsx,ts,tsx,css,scss}": "./node_modules/.bin/prettier --write --ignore-unknown"
},
"browserslist": [
"defaults"
],
"packageManager": "yarn@4.1.0"
}