mirror of
https://github.com/appy-one/acebase-client.git
synced 2026-05-25 14:12:15 -06:00
94 lines
3 KiB
JSON
94 lines
3 KiB
JSON
{
|
|
"name": "acebase-client",
|
|
"version": "1.22.3",
|
|
"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.min.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": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/appy-one/acebase-client.git"
|
|
},
|
|
"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": "file:../acebase-core",
|
|
"socket.io-client": "^4.8.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.0",
|
|
"@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"
|
|
}
|
|
}
|