- Dockerfile builds the npm bundle and serves the app with gunicorn - Gitea workflow runs tests, tags releases on main, pushes the image to the Gitea registry, and publishes to PyPI when PYPI_TOKEN is set - MANIFEST.in includes the built static bundle in distributions - License the project under BSD-3-Clause Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"name": "privatestudio",
|
|
"version": "0.1.0",
|
|
"description": "Javascript and CSS dependencies for privatestudio CMS",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"devbuild": "webpack --mode development --output-path ./privatestudio/static/bundle/",
|
|
"build": "npm run build-bundle && npm run build-htmx && npm run build-tinymce",
|
|
"build-bundle": "webpack --mode production --output-path ./privatestudio/static/bundle/",
|
|
"build-htmx": "cp node_modules/htmx.org/dist/htmx*.js ./privatestudio/static/bundle/",
|
|
"build-tinymce": "mkdir -p ./privatestudio/static/bundle/tinymce && cp -r node_modules/tinymce/* ./privatestudio/static/bundle/tinymce/",
|
|
"watch": "npm run build-htmx && npm run build-tinymce && webpack --mode development --output-path ./privatestudio/static/bundle/ --watch",
|
|
"build:digitalocean": "npm install --production=false && npm run build"
|
|
},
|
|
"author": "Shaun Kruger",
|
|
"license": "BSD-3-Clause",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "v24.22.x",
|
|
"npm": "11.19.x"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.20",
|
|
"css-loader": "^7.1.2",
|
|
"html-webpack-plugin": "^5.6.0",
|
|
"mini-css-extract-plugin": "^2.9.1",
|
|
"postcss-loader": "^8.1.1",
|
|
"sass": "^1.79.3",
|
|
"sass-loader": "^16.0.2",
|
|
"style-loader": "^4.0.0",
|
|
"webpack": "^5.94.0",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"bootstrap": "^5.3.3",
|
|
"htmx.org": "^1.9.12",
|
|
"jquery": "^3.7.1",
|
|
"tinymce": "^8.9.3"
|
|
}
|
|
}
|