cs-element
Version:
Advanced reactive data management library with state machines, blueprints, persistence, compression, networking, and multithreading support
267 lines (266 loc) • 7.28 kB
JSON
{
"name": "cs-element",
"version": "1.1.0",
"type": "module",
"description": "Advanced reactive data management library with state machines, blueprints, persistence, compression, networking, and multithreading support",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"node": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs"
},
"browser": "./dist/index.umd.js",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./browser": {
"import": "./dist/index.browser.esm.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.browser.d.ts"
},
"./react": {
"import": "./dist/react/hooks.js",
"require": "./dist/react/hooks.js",
"types": "./dist/react/hooks.d.ts"
},
"./plugins/backup": {
"import": "./dist/plugins/backup.js",
"require": "./dist/plugins/backup.js",
"types": "./dist/plugins/backup.d.ts"
},
"./plugins/compression": {
"import": "./dist/plugins/compression.js",
"require": "./dist/plugins/compression.js",
"types": "./dist/plugins/compression.d.ts"
},
"./plugins/security": {
"import": "./dist/plugins/security.js",
"require": "./dist/plugins/security.js",
"types": "./dist/plugins/security.d.ts"
},
"./plugins/network": {
"import": "./dist/plugins/network.js",
"require": "./dist/plugins/network.js",
"types": "./dist/plugins/network.d.ts"
},
"./plugins/serialization": {
"import": "./dist/plugins/serialization.js",
"require": "./dist/plugins/serialization.js",
"types": "./dist/plugins/serialization.d.ts"
},
"./workers/nodejs": {
"node": {
"import": "./dist/workers/nodejs.js",
"require": "./dist/workers/nodejs.js"
},
"import": "./dist/workers/nodejs.js",
"require": "./dist/workers/nodejs.js",
"types": "./dist/workers/nodejs.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"docs"
],
"scripts": {
"build": "rollup -c",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:quiet": "jest --silent --noStackTrace --verbose=false",
"test:errors": "jest --silent --verbose=false",
"dev": "rollup -c -w",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"lint:strict": "eslint src/**/*.ts --max-warnings 0",
"type-check": "tsc --noEmit",
"format": "prettier --write src/**/*.ts",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"prepack": "npm run build",
"postpack": "echo 'Package ready for publishing!'",
"docs:dev": "echo 'Documentation server not configured'",
"docs:build": "echo 'Documentation build not configured'",
"benchmark": "echo 'Benchmarks not configured'",
"clean": "rimraf dist coverage temp"
},
"keywords": [
"reactive",
"data-structures",
"typescript",
"state-management",
"persistence",
"serialization",
"compression",
"networking",
"websockets",
"web-workers",
"batch-operations",
"transactions",
"acid",
"history",
"undo-redo",
"state-machine",
"blueprints",
"migrations",
"live-queries",
"computed-properties",
"reactivity",
"plugins",
"middleware",
"validation",
"security",
"encryption",
"metrics",
"analytics",
"caching",
"transformation",
"visualization",
"devtools",
"logging",
"react",
"hooks",
"graph-algorithms",
"pathfinding",
"cycle-detection",
"diff-engine",
"three-way-merge",
"typed-elements",
"schema-validation",
"auto-dispose",
"memory-management",
"service-registry",
"dependency-injection",
"element-navigation",
"typescript-generator",
"performance-profiling",
"worker-manager",
"cross-platform"
],
"author": "dev",
"license": "MIT",
"homepage": "https://github.com/dev/cs-element#readme",
"repository": {
"type": "git",
"url": "https://github.com/dev/cs-element.git"
},
"bugs": {
"url": "https://github.com/dev/cs-element/issues"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/dev"
},
"engines": {
"node": ">=14.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"devDependencies": {
"@playwright/test": "^1.53.2",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@stryker-mutator/core": "^9.0.1",
"@stryker-mutator/jest-runner": "^9.0.1",
"@stryker-mutator/typescript-checker": "^9.0.1",
"@testing-library/react": "^16.3.0",
"@types/archiver": "^6.0.3",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.5",
"@types/js-yaml": "^4.0.9",
"@types/jsdom": "^21.1.7",
"@types/json-schema": "^7.0.15",
"@types/lz4js": "^0.2.1",
"@types/msgpack-lite": "^0.1.11",
"@types/node": "^20.8.0",
"@types/pako": "^2.0.3",
"@types/react": "^19.1.8",
"@types/react-test-renderer": "^19.1.0",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"depcheck": "^1.4.7",
"eslint": "^8.50.0",
"fast-check": "^4.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.4",
"jsdom": "^26.1.0",
"json-schema": "^0.4.0",
"playwright": "^1.53.2",
"prettier": "^3.0.3",
"react": "^19.1.0",
"react-test-renderer": "^19.1.0",
"rollup": "^3.29.4",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.1",
"ts-prune": "^0.10.3",
"typescript": "^5.2.2"
},
"dependencies": {
"@types/joi": "^17.2.2",
"@types/node-cron": "^3.0.11",
"@types/node-fetch": "^2.6.12",
"@types/sqlite3": "^3.1.11",
"@types/xml2js": "^0.4.14",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"archiver": "^7.0.1",
"axios": "^1.10.0",
"brotli-wasm": "^3.0.1",
"crypto-js": "^4.2.0",
"dexie": "^4.0.11",
"eventemitter3": "^5.0.1",
"extract-zip": "^2.0.1",
"fs-extra": "^11.3.0",
"fuse.js": "^7.1.0",
"joi": "^17.13.3",
"js-yaml": "^4.1.0",
"jspath": "^0.4.0",
"lerna": "^8.1.2",
"localforage": "^1.10.0",
"lz4js": "^0.2.0",
"msgpack-lite": "^0.1.26",
"node-cron": "^4.2.0",
"node-fetch": "^3.3.2",
"pako": "^2.1.0",
"rollup": "^4.18.0",
"socket.io-client": "^4.8.1",
"sqlite3": "^5.1.7",
"ts-jest": "^29.1.4",
"uuid": "^11.1.0",
"worker-threads-pool": "^2.0.0",
"ws": "^8.18.3",
"xml2js": "^0.6.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2
}
}