web2019/package.json
Egor Savkin 33a6a55369 npm update
Signed-off-by: Egor Savkin <es@m-labs.hk>
2025-03-20 12:23:18 +08:00

59 lines
1.9 KiB
JSON

{
"name": "m-labs-zola",
"sideEffects": false,
"version": "1.0.0",
"description": "These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. For deployment, see the nix-scripts repository. Commits to https://git.m-labs.hk/M-Labs/web2019.git are automatically deployed to m-labs.hk through Hydra.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npx webpack --watch",
"build": "npx webpack",
"start-dev": "npx webpack --watch --mode=development --devtool=inline-source-map",
"build-dev": "npx webpack --mode=development --devtool=inline-source-map",
"optimize-bootstrap": "zola build -o tmp_out && npx purgecss --css static/css/bootstrap-5.3.0.min.css --content 'tmp_out/**/*.html' -o static/css/bootstrap-5.3.0.opt.css --safelist modal-backdrop && rm -rf tmp_out"
},
"repository": {
"type": "git",
"url": "https://git.m-labs.hk/M-Labs/web2019.git"
},
"dependencies": {
"@hello-pangea/dnd": "^18.0.1",
"bootstrap": "^5.3.3",
"json-logic-js": "^2.0.5",
"react": "^19.0.0",
"react-bootstrap": "^2.10.9",
"uuid": "^11.1.0",
"zustand": "^5.0.3"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@uidotdev/usehooks": "^2.4.1",
"babel-loader": "^10.0.0",
"babel-preset-minify": "^0.5.2",
"purgecss": "^7.0.2",
"webpack": "^5.98.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1",
"webpack-preprocessor-loader": "^1.3.0"
},
"babel": {
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"targets": {
"browsers": [
">0.25%",
"not dead",
"not op_mini all"
]
}
}
]
]
}
}