74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "@tanstack/react-store",
|
|
"version": "0.9.3",
|
|
"description": "Framework agnostic type-safe store w/ reactive framework adapters",
|
|
"author": "Tanner Linsley",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TanStack/store.git",
|
|
"directory": "packages/react-store"
|
|
},
|
|
"homepage": "https://tanstack.com/store",
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/tannerlinsley"
|
|
},
|
|
"keywords": [
|
|
"store",
|
|
"react",
|
|
"typescript"
|
|
],
|
|
"type": "module",
|
|
"types": "dist/esm/index.d.ts",
|
|
"main": "dist/cjs/index.cjs",
|
|
"module": "dist/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.cts",
|
|
"default": "./dist/cjs/index.cjs"
|
|
}
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"dependencies": {
|
|
"use-sync-external-store": "^1.6.0",
|
|
"@tanstack/store": "0.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/use-sync-external-store": "^0.0.6",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "premove ./dist ./coverage",
|
|
"test:eslint": "eslint ./src ./tests",
|
|
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
|
|
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
|
|
"test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js",
|
|
"test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js",
|
|
"test:types:ts59": "tsc",
|
|
"test:lib": "vitest",
|
|
"test:lib:dev": "pnpm run test:lib --watch",
|
|
"test:build": "publint --strict",
|
|
"build": "vite build"
|
|
}
|
|
} |