- Implement MapController for displaying city maps - Add map rendering in the city show view - Include weather arts in the city show controller - Update asset pipeline to include Leaflet CSS and JS This commit introduces a map feature that allows users to view geographical information related to cities. The map is integrated with weather arts data, enhancing the overall functionality of the city show page.
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"name": "app",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"daisyui": "^4.12.23",
|
|
"esbuild": "^0.24.2"
|
|
},
|
|
"scripts": {
|
|
"build": "esbuild app/javascript/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets --loader:.woff=file --loader:.woff2=file --loader:.ttf=file --loader:.eot=file --loader:.png=file --asset-names=[name]-[hash].digested --chunk-names=[name]-[hash].digested",
|
|
"build:css": "tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css && sass ./app/assets/stylesheets/active_admin.scss:./app/assets/builds/active_admin.css --no-source-map --load-path=node_modules"
|
|
},
|
|
"dependencies": {
|
|
"@activeadmin/activeadmin": "^3.2.5",
|
|
"@fontsource/playfair-display": "^5.1.1",
|
|
"@fontsource/raleway": "^5.1.1",
|
|
"@hotwired/stimulus": "^3.2.2",
|
|
"@hotwired/turbo-rails": "^8.0.12",
|
|
"autoprefixer": "^10.4.20",
|
|
"jquery": "^3.7.1",
|
|
"jquery-ui": "^1.14.1",
|
|
"leaflet": "^1.9.4",
|
|
"photoswipe": "^5.4.4",
|
|
"postcss": "^8.5.1",
|
|
"sass": "^1.83.4",
|
|
"tailwindcss": "^3.4.17"
|
|
}
|
|
}
|