A build process that generates a package with single executable for each component.
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "genieacs",
|
|
"version": "1.2.0-dev",
|
|
"description": "A TR-069 Auto Configuration Server (ACS)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/genieacs/genieacs.git"
|
|
},
|
|
"homepage": "https://genieacs.com",
|
|
"keywords": [
|
|
"TR-069",
|
|
"CWMP",
|
|
"ACS"
|
|
],
|
|
"author": "Zaid Abdulla <zaid@genieacs.com>",
|
|
"license": "AGPL-3.0",
|
|
"preferGlobal": true,
|
|
"directories": {
|
|
"bin": "bin"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "^8.3.0",
|
|
"koa-bodyparser": "^4.2.1",
|
|
"koa-compress": "^3.0.0",
|
|
"koa-jwt": "^3.3.2",
|
|
"koa-router": "^7.4.0",
|
|
"koa-static": "^5.0.0",
|
|
"koa": "^2.5.2",
|
|
"later": "^1.2.0",
|
|
"libxmljs": "^0.19.5",
|
|
"mongodb": "^3.1.10",
|
|
"parsimmon": "^1.12.0",
|
|
"seedrandom": "^2.4.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"redis": "^2.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^8.2.6",
|
|
"codemirror": "^5.40.0",
|
|
"cssnano": "^4.0.5",
|
|
"eslint": "^5.10.0",
|
|
"mithril": "^1.1.6",
|
|
"postcss-cssnext": "^3.1.0",
|
|
"postcss-import": "^11.1.0",
|
|
"prettier": "^1.15.3",
|
|
"webpack": "^4.16.3",
|
|
"webpack-node-externals": "^1.7.2",
|
|
"yaml": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.14.0"
|
|
},
|
|
"scripts": {
|
|
"compile": "echo 'Compile step no longer required, skipping.'",
|
|
"configure": "if [ ! -f ./config/config.json ]; then cp ./config/config-sample.json ./config/config.json; cp ./config/config-ui-sample.json ./config/config-ui.json; fi",
|
|
"install": "npm run configure",
|
|
"test": "node test",
|
|
"lint": "eslint --fix lib ui build bin/*; prettier --write \"lib/**/*.js\" \"ui/**/*.js\" \"build/**/*.js\" bin/*",
|
|
"build": "node build/build"
|
|
}
|
|
}
|