56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"name": "frontblock-admin",
|
|
"description": "Dynamic configurator for frontblock",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"tsc": "tsc",
|
|
"start": "npm run build; node lib/FrontblockAdmin.js",
|
|
"build": "npm run clean; npm run build-backend",
|
|
"build-backend": "tsc; npm run webpack",
|
|
"build-frontend": "npm run build-dashboard",
|
|
"build-dashboard": "git submodule init && git submodule update --merge; cd src/frontend/dashboard; npm i && npm run build; cp -r dist/* ../../../static",
|
|
"build-widget": "rollup -c src/frontend/widget/rollup.config.js; mkdir -p plugins/PluginManager; cp FrontendPlugin.js plugins/PluginManager",
|
|
"clean": "rm -rf lib static plugins conf dist widget .rpt2_cache *.js *.ts src/frontend/dashboard/dist",
|
|
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",
|
|
"webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://gitea.frontblock.me/fb-vendor/admin"
|
|
},
|
|
"author": "frontblock.me",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bsert": "0.0.10",
|
|
"bsock": "^0.1.9",
|
|
"child-process-promise": "^2.2.1",
|
|
"express": "^4.16.4",
|
|
"frontblock": "^0.14.0",
|
|
"frontblock-generic": "^0.29.0",
|
|
"git-cherrypicker": "0.0.3",
|
|
"git-describe": "^4.0.4",
|
|
"http": "0.0.0",
|
|
"log4js": "^4.4.0",
|
|
"lowdb": "^1.0.0",
|
|
"node-fetch": "^2.6.0",
|
|
"path": "^0.12.7",
|
|
"rimraf": "^3.0.0",
|
|
"simple-git": "^1.124.0",
|
|
"spawn-sync": "^2.0.0",
|
|
"uuid": "^3.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.0",
|
|
"@types/node": "^11.13.19",
|
|
"@types/semver": "^6.0.1",
|
|
"terser-webpack-plugin": "^1.4.1",
|
|
"ts-loader": "^5.3.3",
|
|
"typescript": "^3.5.3",
|
|
"webpack": "^4.39.2",
|
|
"webpack-cli": "^3.3.5"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
]
|
|
}
|