83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"name": "@budibase/cli",
|
|
"version": "0.0.0",
|
|
"description": "Budibase CLI, for developers, self hosting and migrations.",
|
|
"main": "dist/src/index.js",
|
|
"bin": {
|
|
"budi": "dist/src/index.js"
|
|
},
|
|
"author": "Budibase",
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"prebuild": "rm -rf prebuilds 2> /dev/null && cp -r ../../node_modules/leveldown/prebuilds prebuilds",
|
|
"rename": "renamer --find .node --replace .fake 'prebuilds/**'",
|
|
"tsc": "tsc -p tsconfig.build.json",
|
|
"pkg": "pkg . --out-path build --no-bytecode --public --public-packages \"*\" -C GZip",
|
|
"build": "yarn prebuild && yarn rename && yarn tsc && yarn pkg && yarn postbuild",
|
|
"check:types": "tsc -p tsconfig.json --noEmit --paths null",
|
|
"postbuild": "rm -rf prebuilds 2> /dev/null"
|
|
},
|
|
"pkg": {
|
|
"targets": [
|
|
"node16-linux",
|
|
"node16-win",
|
|
"node16-macos"
|
|
],
|
|
"assets": [
|
|
"node_modules/@budibase/backend-core/dist/**/*",
|
|
"prebuilds/**/*"
|
|
],
|
|
"outputPath": "build"
|
|
},
|
|
"dependencies": {
|
|
"@budibase/backend-core": "0.0.0",
|
|
"@budibase/string-templates": "0.0.0",
|
|
"@budibase/types": "0.0.0",
|
|
"axios": "0.21.2",
|
|
"chalk": "4.1.0",
|
|
"cli-progress": "3.11.2",
|
|
"commander": "7.1.0",
|
|
"docker-compose": "0.24.0",
|
|
"dotenv": "16.0.1",
|
|
"download": "8.0.0",
|
|
"find-free-port": "^2.0.0",
|
|
"inquirer": "8.0.0",
|
|
"joi": "17.6.0",
|
|
"lookpath": "1.1.0",
|
|
"node-fetch": "2.6.7",
|
|
"pkg": "5.8.0",
|
|
"posthog-node": "1.3.0",
|
|
"pouchdb": "7.3.0",
|
|
"pouchdb-replication-stream": "1.2.9",
|
|
"randomstring": "1.1.5",
|
|
"tar": "6.1.15",
|
|
"yaml": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/core": "1.3.71",
|
|
"@swc/jest": "0.2.27",
|
|
"@types/jest": "29.5.3",
|
|
"@types/node-fetch": "2.6.1",
|
|
"@types/pouchdb": "^6.4.0",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^7.20.0",
|
|
"renamer": "^4.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "4.7.3"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@budibase/backend-core"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|