UNPKG

@statezero/core

Version:

The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate

127 lines (126 loc) 3.61 kB
{ "name": "@statezero/core", "version": "0.2.5", "type": "module", "module": "ESNext", "description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "statezero": "dist/cli/index.js" }, "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js" }, "./cli": { "import": "./dist/cli/index.js", "require": "./dist/cli/index.js" }, "./react": { "import": "./dist/react-entry.js", "require": "./dist/react-entry.js" }, "./vue": { "import": "./dist/vue-entry.js", "require": "./dist/vue-entry.js" } }, "scripts": { "test": "vitest run --config=vitest.base.config.ts", "test:e2e": "vitest run --config=vitest.sequential.config.ts tests/e2e", "generate:test-apps": "ts-node scripts/generate-test-apps.js", "test:adaptors": "playwright test tests/adaptors", "test:coverage": "vitest run --coverage", "build": "tsc", "parse-queries": "node scripts/perfect-query-parser.js", "sync": "node src/cli/index.js sync", "sync:dev": "npx cross-env NODE_ENV=test npm run sync", "sync-models": "node src/cli/index.js sync-models", "sync-models:dev": "npx cross-env NODE_ENV=test npm run sync-models", "sync-actions": "node src/cli/index.js sync-actions", "sync-actions:dev": "npx cross-env NODE_ENV=test npm run sync-actions", "clean": "npx rimraf dist", "prepare": "npm run clean && npm run build", "prepublishOnly": "npm run clean && npm run build" }, "keywords": [ "typescript", "orm", "backend", "frontend", "database", "sql", "django", "sqlalchemy", "react", "vue", "svelte" ], "author": "Robert Herring <robert.herring@resipilot.com>", "license": "SEE LICENSE IN LICENSE", "repository": { "type": "git", "url": "git+https://github.com/state-zero/statezero-client.git" }, "files": [ "dist", "LICENSE", "README.md" ], "homepage": "https://www.statezero.dev", "dependencies": { "axios": "^1.7.9", "cli-progress": "^3.12.0", "cosmiconfig": "^9.0.0", "cosmiconfig-typescript-loader": "^6.1.0", "date-fns": "^4.1.0", "dotenv": "^16.4.7", "fs-extra": "^11.3.0", "graphlib": "^2.1.8", "handlebars": "^4.7.8", "idb": "^8.0.2", "inquirer": "^12.4.2", "lodash-es": "^4.17.21", "luxon": "^3.6.1", "mathjs": "^14.4.0", "mitt": "^3.0.1", "object-hash": "^3.0.0", "openapi-typescript": "^6.7.1", "p-queue": "^8.1.0", "pusher-js": "^8.4.0", "rfdc": "^1.4.1", "sift": "^17.1.3", "superjson": "^2.2.2", "uuid": "^11.1.0", "yargs": "^17.7.2", "zod": "^3.24.2" }, "devDependencies": { "@playwright/test": "^1.50.1", "@types/cli-progress": "^3.11.6", "@types/lodash-es": "^4.17.12", "@types/node": "^22.13.1", "@types/react": "^18.3.18", "@types/yargs": "^17.0.32", "@vitest/coverage-v8": "^3.0.5", "fake-indexeddb": "^6.0.0", "fast-glob": "^3.3.3", "react": "^18.2.0", "rimraf": "^5.0.5", "ts-node": "^10.9.2", "typescript": "^5.7.3", "vitest": "^3.0.5", "vue": "^3.2.0" }, "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/state-zero/statezero-client/issues" }, "directories": { "test": "tests" } }