@instantdb/core
Version:
Instant's core local abstraction
64 lines • 1.72 kB
JSON
{
"name": "@instantdb/core",
"version": "v0.20.9",
"description": "Instant's core local abstraction",
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"unpkg": "standalone/index.umd.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"tshy": {
"selfLink": false,
"main": true,
"module": true,
"project": "./tsconfig.json",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"@types/node": "^18.11.18",
"@types/uuid": "^10.0.0",
"@types/websocket": "^1.0.5",
"fake-indexeddb": "^6.0.0",
"npm-run-all": "^4.1.5",
"tshy": "^3.0.2",
"@arethetypeswrong/cli": "^0.17.4",
"typescript": "^5.8.3",
"vite": "^5.2.0",
"vitest": "^1.6.0"
},
"dependencies": {
"mutative": "^1.0.10",
"uuid": "^11.1.0"
},
"scripts": {
"test": "vitest",
"bench": "vitest bench",
"test:ci": "vitest run",
"bench:ci": "vitest bench --run",
"check": "tsc --noEmit",
"check-exports": "attw --pack .",
"dev": "tshy --watch",
"build": "rm -rf dist; npm run build:tshy && npm run build:standalone && npm run check-exports",
"build:tshy": "tshy",
"build:standalone": "vite build",
"publish-package": "pnpm publish --access public --no-git-checks"
}
}