@bemedev/app-react
Version:
Use app-ts inside react
146 lines (145 loc) • 4.13 kB
JSON
{
"name": "@bemedev/app-react",
"version": "0.2.0",
"description": "Use app-ts inside react",
"keywords": [
"app",
"app-ts",
"bemedev",
"react",
"react-sync",
"state",
"state-machine",
"statecharts",
"typescript"
],
"license": "MIT",
"author": {
"name": "chlbri",
"email": "bri_lvi@icloud.com",
"url": "https://bemedev.vercel.app"
},
"maintainers": [
{
"email": "bri_lvi@icloud.com",
"name": "chlbri",
"url": "https://bemedev.vercel.app"
}
],
"contributors": [
{
"email": "bri_lvi@icloud.com",
"name": "chlbri",
"url": "https://bemedev.vercel.app"
}
],
"repository": {
"type": "git",
"url": "https://github.com/chlbri/app-react"
},
"files": [
"lib",
"public"
],
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "pnpm run rm:lib && pnpm run rolldown",
"ci": "CI_START=$(date +%s) && pnpm run config:off && pnpm run lint && pnpm run test && echo \"\n✅ CI takes $(($(date +%s) - CI_START))s\n\"",
"ci:admin": "pnpm run rm && pnpm run upgrade:fast && pnpm run ci",
"config": "pnpm install",
"config:off": "pnpm run config --offline",
"config:vitest": "pnpm add -D @vitest/coverage-v8@3.2.4 @vitest/ui@3.2.4 vitest@3.2.4",
"_lint": "oxlint",
"lint:fix": "oxlint --fix",
"lint": "pnpm run fmt && pnpm run lint:fix",
"lint:watch": "onchange --await-write-finish 1500 -d 10000 -v \"**/*.ts\" -- pnpm run lint",
"build:watch": "onchange --await-write-finish 1500 -d 10000 -v \"**/*.ts\" -- pnpm run build",
"p-q": "pretty-quick",
"posttest": "pnpm run fmt && pnpm build-tests post",
"prepare": "husky",
"prepublishOnly": "",
"pretest": "pnpm run build && pnpm run size && pnpm build-tests pre",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"rinit": "pnpm run rm && pnpm run config",
"rinit:off": "pnpm run rm && pnpm run config:off",
"rm": "pnpx rimraf ./node_modules ./pnpm-lock.yaml",
"rm:lib": "pnpx rimraf ./lib",
"rolldown": "rolldown -c",
"size": "size-limit",
"test:coverage": "vitest run",
"test": "pnpm run test:coverage",
"test:only": "pnpm run test:coverage --no-coverage",
"test:ui": "pnpm run pretest && vitest --ui",
"test:watch": "vitest",
"upgrade": "pnpm dlx @bemedev/upgrade-npm-package && pnpm run config:vitest",
"upgrade:fast": "pnpm up --latest && pnpm run config:vitest"
},
"dependencies": {
"@bemedev/react-sync": "^0.1.1",
"dequal": "^2.0.3"
},
"devDependencies": {
"@bemedev/app-ts": "^2.3.0",
"@bemedev/build-tests": "^0.1.2",
"@bemedev/decompose": "^2.2.0",
"@bemedev/fsf": "^1.0.1",
"@bemedev/rolldown-config": "^0.4.2",
"@bemedev/sleep": "^0.2.2",
"@bemedev/vitest-alias": "^0.0.3",
"@bemedev/vitest-exclude": "^0.1.1",
"@bemedev/vitest-extended": "^1.5.3",
"@size-limit/file": "^12.0.1",
"@testing-library/react": "^16.3.2",
"@testing-library/react-hooks": "^8.0.1",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "3.2.4",
"glob": "^13.0.6",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"onchange": "^7.1.0",
"oxfmt": "^0.42.0",
"oxlint": "^1.57.0",
"prettier": "^3.8.1",
"pretty-quick": "^4.2.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-test-renderer": "^19.2.4",
"rolldown": "1.0.0-rc.12",
"rxjs": "^7.8.2",
"size-limit": "^12.0.1",
"tslib": "^2.8.1",
"typescript": "^6.0.2",
"vitest": "^3.2.4"
},
"peerDependencies": {
"@bemedev/app-ts": "^2.0.0",
"react": "^18.0.0"
},
"size-limit": [
{
"path": "lib/*.js",
"limit": "10 KB"
},
{
"path": "lib/*.cjs",
"limit": "10 KB"
}
],
"engines": {
"node": ">=22"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}