acebase-client
Version:
Client to connect to an AceBase realtime database server
93 lines (92 loc) • 3.04 kB
JSON
{
"name": "acebase-client",
"version": "1.22.2",
"description": "Client to connect to an AceBase realtime database server",
"comments": {
"browser": "webpack/browserify file replacements have moved to package.json in dist/cjs and dist/esm. See README.md for more info",
"exports": "See README.md for more info about exported and used ESM and CommonJS distributions"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"browser": {
"socket.io-client": "socket.io-client/dist/socket.io.slim.js",
"./dist/cjs/request/index.js": "./dist/cjs/request/browser.js",
"./dist/esm/request/index.js": "./dist/esm/request/browser.js",
"./dist/cjs/performance/index.js": "./dist/cjs/performance/browser.js",
"./dist/esm/performance/index.js": "./dist/esm/performance/browser.js",
"./dist/cjs/base64/index.js": "./dist/cjs/base64/browser.js",
"./dist/esm/base64/index.js": "./dist/esm/base64/browser.js"
},
"private": false,
"repository": "github:appy-one/acebase-client",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:packages && npm run browserify && echo Done!",
"build:clean": "rm -fr dist/*",
"build:esm": "tsc -p tsconfig.json && npx tsc-esm-fix ---target='dist/esm'",
"build:cjs": "tsc -p tsconfig-cjs.json",
"build:packages": "bash ./create-package-files",
"browserify": "browserify dist/cjs/browser.js -o dist/browser.js --standalone acebaseclient --ignore rxjs --ignore process --ignore buffer && terser dist/browser.js -o dist/browser.min.js && cp src/browser.html dist",
"test": "node test/cjs && node test/esm"
},
"keywords": [
"database",
"db",
"json",
"binary",
"object",
"tree",
"nosql",
"embedded",
"schemaless",
"orm",
"query",
"index",
"indexes",
"fulltext",
"geo",
"transaction",
"datastore",
"fast",
"low-memory",
"realtime",
"events",
"users",
"authentication",
"rules",
"authorization",
"ssl",
"https",
"firebase alternative",
"browser",
"cache",
"synchronization",
"data proxy"
],
"author": "Ewout Stortenbeker <me@appy.one> (http://appy.one)",
"license": "MIT",
"dependencies": {
"acebase-core": "^1.28.1",
"socket.io-client": "^2.5.0"
},
"devDependencies": {
"@types/node": "^18.11.0",
"@types/socket.io-client": "^1.4.36",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"browserify": "^17.0.0",
"eslint": "^8.25.0",
"terser": "^5.15.1",
"tsc-esm-fix": "^2.20.5",
"typescript": "^4.8.4"
}
}