Files
nhost/packages/react/package.json
2022-05-02 11:55:42 +02:00

74 lines
1.8 KiB
JSON

{
"name": "@nhost/react",
"version": "0.6.1",
"description": "Nhost React library",
"license": "MIT",
"keywords": [
"nhost",
"hasura",
"storage",
"auth",
"authentication",
"graphql",
"postgresql",
"realtime",
"react"
],
"author": "Nhost",
"homepage": "https://nhost.io",
"bugs": "https://github.com/nhost/nhost/issues",
"repository": {
"type": "git",
"url": "https://github.com/nhost/nhost.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
"dist",
"umd",
"README.md"
],
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "vite build --config ./vite.config.dev.js",
"build": "run-p build:esm-cjs build:umd",
"build:esm-cjs": "vite build",
"build:umd": "vite build --config ../../vite.umd.config.js",
"test": "pnpm jest --runInBand --config ../../jest.config.base.js",
"prettier": "prettier --check src/",
"prettier:fix": "prettier --write src/",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"verify": "run-p prettier lint",
"verify:fix": "run-p prettier:fix lint:fix",
"typedoc": "typedoc --options ./react.typedoc.json",
"docgen": "pnpm typedoc && docgen --config ./react.docgen.json"
},
"dependencies": {
"@nhost/core": "*",
"@nhost/nhost-js": "*",
"@xstate/react": "^2.0.1",
"immer": "^9.0.12",
"jwt-decode": "^3.1.2",
"xstate": "^4.31.0"
},
"devDependencies": {
"@nhost/docgen": "*",
"react": "^17.0.2"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
}