notebook/package.json
Andrew Brown 11badda401 Move webpack build dependencies to production
Move postcss-loader, postcss, and autoprefixer from devDependencies
to dependencies. These packages are required during webpack compilation
which happens in production during 'rails assets:precompile'.

Fixes error: Module not found: Error: Can't resolve 'postcss-loader'

Webpacker requires build tools in dependencies, not devDependencies,
because asset compilation happens on the production server.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 01:26:57 -07:00

55 lines
1.5 KiB
JSON

{
"packageManager": "yarn@1.22.22",
"dependencies": {
"@alpinejs/focus": "^3.11.1",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.8.3",
"@material-ui/core": "^4.9.1",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.41",
"@rails/ujs": "^7.1.3-4",
"@rails/webpacker": "^5.2.1",
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/line-clamp": "^0.4.2",
"@types/react": "^17.0.13",
"axios": "^0.21.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"jquery-ui": "1.13.3",
"pluralize": "^8.0.0",
"prop-types": "^15.7.2",
"rails_admin": "3.1.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-simple-format": "^0.3.0",
"react_ujs": "^2.6.1",
"stimulus": "^3.0.1",
"stimulus-animated-number": "^4.0.0",
"stimulus-dropdown": "^2.1.0",
"tailwindcss": "^2.2.19",
"postcss-loader": "^4.0.0",
"postcss": "^8.4.5",
"autoprefixer": "^10.4.0"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"babel-loader": "^8.2.2",
"webpack-dev-server": "^3.11.2"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
},
"resolutions": {
"chokidar": "^3.4.0",
"rails_admin/@fortawesome/fontawesome-free": "^5.15.0"
},
"plugins": [
[
"@babel/plugin-proposal-private-methods",
{
"loose": true
}
]
]
}