rails new -n a11yist -d sqlite3 --skip-action-mailbox --css bootstrap --js esbuild .
This commit is contained in:
commit
535a051755
91 changed files with 2469 additions and 0 deletions
27
package.json
Normal file
27
package.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "app",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@hotwired/stimulus": "^3.2.2",
|
||||
"@hotwired/turbo-rails": "^8.0.4",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"bootstrap": "^5.3.3",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"esbuild": "^0.23.0",
|
||||
"nodemon": "^3.1.4",
|
||||
"postcss": "^8.4.39",
|
||||
"postcss-cli": "^11.0.0",
|
||||
"sass": "^1.77.8"
|
||||
},
|
||||
"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\""
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue