mirror of
https://github.com/pockethost/pockethost.git
synced 2026-02-27 05:23:18 +00:00
123 lines
4.8 KiB
JSON
123 lines
4.8 KiB
JSON
{
|
|
"name": "pockethost",
|
|
"version": "0.9.3",
|
|
"author": "Ben Allfree <ben@benallfree.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"check:types": "concurrently 'yarn:check:types:*'",
|
|
"check:types:dashboard": "cd frontends/dashboard && yarn check:types",
|
|
"check:types:pockethost": "tsc --noEmit --skipLibCheck",
|
|
"lint": "prettier -c \"./**/*.{ts,js,cjs,svelte,json}\"",
|
|
"lint:fix": "prettier -w \"./**/*.{ts,js,cjs,svelte,json}\"",
|
|
"build": "concurrently 'yarn:build:*'",
|
|
"build:dashboard": "cd frontends/dashboard && yarn build",
|
|
"build:www": "cd frontends/www && yarn build",
|
|
"build:mothership": "concurrently 'yarn:build:mothership:*'",
|
|
"build:mothership:migrations": "cd src/mothership-app/migrations && copyfiles '*' ../../../dist/mothership-app/migrations",
|
|
"build:mothership:hooks": "esbuild --platform=node --format=cjs --bundle --outfile=./dist/mothership-app/pb_hooks/index.pb.js ./src/mothership-app/pb_hooks/src/index.ts ",
|
|
"build:pockethost": "concurrently 'yarn:build:pockethost:*'",
|
|
"build:pockethost:docker": "cd src/services/PocketBaseService && docker build -t benallfree/pockethost-instance .",
|
|
"push:docker": "docker tag benallfree/pockethost-instance benallfree/pockethost-instance:latest && docker push benallfree/pockethost-instance:latest",
|
|
"dev": "concurrently 'yarn:dev:*'",
|
|
"dev:www": "cd frontends/www && yarn start",
|
|
"dev:dashboard": "cd frontends/dashboard && yarn dev",
|
|
"dev:daemon": "concurrently 'yarn:dev:daemon:*'",
|
|
"dev:daemon:server": "tsx watch src/server.ts",
|
|
"dev:daemon:hooks": "chokidar './src/mothership-app/pb_hooks/**' -c 'yarn build:mothership:hooks' --initial",
|
|
"start": "tsx src/server.ts",
|
|
"pm2": "pm2 stop all; pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -l /home/pockethost/logs/daemon-`date +%s`.log",
|
|
"plop": "plop",
|
|
"prepare": "[ -d '.git' ] && husky install || echo 'skipping husky'"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"plugins": [
|
|
"./node_modules/prettier-plugin-organize-imports/index.js",
|
|
"./node_modules/prettier-plugin-svelte/plugin.js"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@s-libs/micro-dash": "^16.1.0",
|
|
"ajv": "^8.11.2",
|
|
"boolean": "^3.2.0",
|
|
"bottleneck": "^2.19.5",
|
|
"commander": "^11.0.0",
|
|
"date-fns": "^2.29.3",
|
|
"decompress": "^4.2.1",
|
|
"decompress-unzip": "https://github.com/pockethost/decompress-unzip.git#6ef397b9a2df11d39c7b26ce779e123833844751",
|
|
"dockerode": "^3.3.5",
|
|
"dotenv": "^16.3.1",
|
|
"event-source-polyfill": "^1.0.31",
|
|
"eventsource": "^2.0.2",
|
|
"exit-hook": "^4.0.0",
|
|
"ftp-srv": "https://github.com/pockethost/ftp-srv.git#0fc708bae0d5d7a55ce948767f082d6fcfb2af59",
|
|
"get-port": "^6.1.2",
|
|
"glob": "^10.3.10",
|
|
"http-proxy": "^1.18.1",
|
|
"ip-cidr": "^3.1.0",
|
|
"json-stringify-safe": "^5.0.1",
|
|
"knex": "^2.3.0",
|
|
"memorystream": "^0.3.1",
|
|
"nanoid": "^5.0.2",
|
|
"node-fetch": "^3.3.0",
|
|
"ora": "^7.0.1",
|
|
"pocketbase": "^0.19.0",
|
|
"semver": "^7.5.4",
|
|
"sqlite": "^4.1.2",
|
|
"sqlite3": "^5.1.6",
|
|
"tail": "^2.2.6",
|
|
"tmp": "^0.2.1",
|
|
"url-pattern": "^1.0.3",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "^1.3.86",
|
|
"@types/bootstrap": "^5.2.6",
|
|
"@types/d3-scale": "^4.0.3",
|
|
"@types/d3-scale-chromatic": "^3.0.0",
|
|
"@types/decompress": "^4.2.4",
|
|
"@types/dockerode": "^3.3.19",
|
|
"@types/eventsource": "^1.1.14",
|
|
"@types/http-proxy": "^1.17.9",
|
|
"@types/js-cookie": "^3.0.2",
|
|
"@types/json-stringify-safe": "^5.0.2",
|
|
"@types/marked": "^4.0.8",
|
|
"@types/memorystream": "^0.3.1",
|
|
"@types/node": "^20.8.7",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/tail": "^2.2.2",
|
|
"@types/tmp": "^0.2.1",
|
|
"@types/unzipper": "^0.10.5",
|
|
"chalk": "^5.3.0",
|
|
"chokidar-cli": "^3.0.0",
|
|
"concurrently": "^8.2.1",
|
|
"copyfiles": "^2.4.1",
|
|
"husky": "^8.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"plop": "^4.0.0",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
"prettier-plugin-svelte": "^3.0.3",
|
|
"rizzdown": "^0.0.6",
|
|
"svelte": "^4.2.2",
|
|
"tslib": "^2.6.2",
|
|
"tsx": "^3.12.8",
|
|
"type-fest": "^4.3.2",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"overrides": {
|
|
"decompress-unzip": "https://github.com/pockethost/decompress-unzip.git#6ef397b9a2df11d39c7b26ce779e123833844751",
|
|
"ftp-srv": "https://github.com/pockethost/ftp-srv.git#0fc708bae0d5d7a55ce948767f082d6fcfb2af59"
|
|
},
|
|
"resolutions": {
|
|
"decompress-unzip": "https://github.com/pockethost/decompress-unzip.git#6ef397b9a2df11d39c7b26ce779e123833844751",
|
|
"ftp-srv": "https://github.com/pockethost/ftp-srv.git#0fc708bae0d5d7a55ce948767f082d6fcfb2af59"
|
|
}
|
|
}
|