forked from nhost/nhost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@nhost/react",
"version": "1.13.2",
"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.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
"dist",
"umd",
"README.md"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"node": "./dist/index.cjs.js",
"default": "./dist/index.esm.js"
},
"require": "./dist/index.cjs.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "vite build --config ../../config/vite.react.dev.config.js",
"build": "run-p build:lib build:umd",
"build:lib": "vite build --config ../../config/vite.react.config.js",
"build:umd": "vite build --config ../../config/vite.react.umd.config.js",
"test": "vitest run --config ../../config/vite.react.config.js",
"test:watch": "vitest --config ../../config/vite.react.config.js",
"test:coverage": "vitest run --coverage --config ../../config/vite.lib.config.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 --tsconfig ./typedoc.tsconfig.json",
"docgen": "pnpm typedoc && docgen --config ./react.docgen.json"
},
"dependencies": {
"@nhost/nhost-js": "workspace:*",
"@xstate/react": "^3.0.1",
"jwt-decode": "^3.1.2",
"xstate": "^4.33.5"
},
"devDependencies": {
"@nhost/docgen": "workspace:*",
"@types/react": "^18.0.25",
"react": "^18.2.0"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.1.0",
"react-dom": "^17.0.0 || ^18.1.0"
}
}