surrealdb.react
Version:
A ReactJS wrapper for surrealdb.js
87 lines (86 loc) • 2.48 kB
JSON
{
"name": "surrealdb.react",
"version": "1.0.0",
"description": "A ReactJS wrapper for surrealdb.js",
"license": "Apache-2.0",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/lib/index.d.ts",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --ext ts,tsx",
"lint:fix": "yarn lint --fix",
"test": "jest",
"type-check": "tsc --project tsconfig.json --pretty --noEmit",
"ci": "yarn lint && yarn type-check && yarn test",
"prepare": "husky install"
},
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/leighton-tidwell/surrealdb.react.git"
},
"keywords": [
"SurrealDB",
"ReactJS"
],
"author": "Leighton Tidwell",
"bugs": {
"url": "https://github.com/leighton-tidwell/surrealdb.react/issues"
},
"homepage": "https://github.com/leighton-tidwell/surrealdb.react#readme",
"peerDependencies": {
"react": ">=17.x"
},
"devDependencies": {
"@swc/core": "^1.3.2",
"@swc/jest": "^0.2.22",
"@testing-library/react": "^12.0.4",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.0.3",
"@types/node": "17.0.21",
"@types/react": "17.0.40",
"@types/react-dom": "17.0.13",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@vitejs/plugin-react": "1.2.0",
"babel-eslint": "10.1.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "7.0.0",
"eslint-config-standard": "16.0.3",
"eslint-config-standard-jsx": "10.0.0",
"eslint-config-standard-react": "11.0.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.29.4",
"husky": "7.0.4",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"prettier": "^2.7.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"typescript": "^4.8.3",
"vite": "2.8.6",
"vite-plugin-dts": "0.9.10",
"vite-plugin-linter": "0.2.4",
"vite-tsconfig-paths": "3.4.1"
},
"dependencies": {
"surrealdb.js": "^0.5.0"
}
}