ad4m-host
Version:
Self hosting ad4m service
79 lines (77 loc) • 2.71 kB
JSON
{
"name": "ad4m-host",
"version": "0.0.32",
"description": "Self hosting ad4m service",
"bin": {
"ad4m": "build/cli.cjs"
},
"type": "module",
"scripts": {
"build": "tsc && yarn run build-commonjs",
"build-commonjs": "node scripts/esbuild.js",
"dev": "yarn run build && node --experimental-specifier-resolution=node build/cli.js",
"postinstall": "node scripts/postinstall.js",
"download-binaries-macos": "./scripts/download-binaries-macos.sh",
"download-binaries-linux": "./scripts/download-binaries-linux.sh",
"download-binaries-windows": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command scripts\\download-binaries-windows.ps1",
"copy-swipl:windows": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command scripts\\copy-swipl.ps1",
"package-windows": "yarn run download-binaries-windows && yarn run copy-swipl:windows && pkg . -o dist/ad4m-windows-x64 -t node16-windows-x64 --public-packages \"*\"",
"package-linux": "yarn run download-binaries-linux && pkg . -o dist/ad4m-linux-x64 -t node16-linux-x64 --public-packages \"*\"",
"package-macos": "yarn run download-binaries-macos && pkg . -d -o dist/ad4m-macos-x64 -t node16-macos-x64 --public-packages \"*\""
},
"pkg": {
"scripts": "build/cli.cjs",
"assets": [
"temp/**/*",
"temp/binary/hc.exe",
"temp/binary/holochain.exe",
"temp/binary/lair-keystore.exe",
"node_modules/leveldown/**/*",
"../node_modules/classic-level/**/*",
"node_modules/ts-invariant/**/*",
"node_modules/@apollo/client/node_modules/ts-invariant/**/*"
],
"outputPath": "dist",
"patches": {
"node_modules/leveldown/binding.js": []
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/perspect3vism/ad4m.git"
},
"keywords": [
"Holochain"
],
"author": "Kaichao Sun",
"license": "CAL-1.0",
"bugs": {
"url": "https://github.com/perspect3vism/ad4m/issues"
},
"homepage": "https://github.com/perspect3vism/ad4m#readme",
"dependencies": {
"@apollo/client": "3.6.9",
"@perspect3vism/ad4m": "*",
"@perspect3vism/ad4m-executor": "*",
"appdata-path": "perspect3vism/appdata-path",
"esm": "^3.2.25",
"fs-extra": "^9.1.0",
"get-port": "5.1.1",
"graphql-ws": "^5.9.1",
"node-fetch": "^2.5.11",
"readline-sync": "^1.4.10",
"unzipper": "^0.10.11",
"wget-improved": "^3.3.1",
"ws": "^8.8.0",
"yargs": "^17.3.1"
},
"devDependencies": {
"@types/node": "^17.0.8",
"@types/yargs": "^17.0.8",
"@vercel/ncc": "^0.33.1",
"esbuild": "*",
"patch-package": "^6.5.0",
"pkg": "^5.8.0",
"typescript": "^4.6.2"
}
}