73 lines
2.2 KiB
JSON
73 lines
2.2 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"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.m-labs.hk/M-Labs/web2019.git"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.23.9",
|
|
"@babel/core": "^7.24.0",
|
|
"@babel/preset-env": "^7.24.0",
|
|
"@babel/preset-react": "^7.23.3",
|
|
"@babel/plugin-proposal-decorators": "^7.24.1",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-transform-object-rest-spread": "",
|
|
"@babel/plugin-transform-runtime": "^7.24.1",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
"@hello-pangea/dnd": "^16.5.0",
|
|
"@uidotdev/usehooks": "^2.4.1",
|
|
"babel-loader": "^9.1.3",
|
|
"babel-preset-minify": "^0.5.2",
|
|
"bootstrap": "^5.3.3",
|
|
"jquery": "^3.7.1",
|
|
"json-logic-js": "^2.0.2",
|
|
"react": "^18.2.0",
|
|
"react-bootstrap": "^2.10.2",
|
|
"react-dom": "^18.2.0",
|
|
"uuid": "^9.0.1",
|
|
"webpack": "^5.90.3",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-preprocessor-loader": "^1.3.0",
|
|
"zustand": "^4.5.2"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"useBuiltIns": "usage",
|
|
"corejs": "3",
|
|
"targets": {
|
|
"browsers": ["last 5 versions", "ie >= 9"]
|
|
}
|
|
}
|
|
],
|
|
"@babel/preset-react"
|
|
],
|
|
"plugins": [
|
|
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
|
["@babel/plugin-transform-object-rest-spread"],
|
|
["@babel/plugin-transform-for-of"],
|
|
["@babel/plugin-transform-runtime"],
|
|
[
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
{
|
|
"allowTopLevelThis": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"core-js": "^3.36.1"
|
|
}
|
|
}
|