-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 1.91 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
{
"name": "ra-surrealdb",
"version": "0.4.0",
"type": "module",
"homepage": "https://github.com/djedi23/ra-surrealdb",
"repository": "https://github.com/djedi23/ra-surrealdb.git",
"author": "Mose Valvassori <moise.valvassori@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"preview": "vite preview",
"prettier": "prettier --write .",
"postinstall": "echo Run: yarn husky install",
"prepack": "vite build"
},
"peerDependencies": {
"react-admin": "^5.0.0"
},
"dependencies": {
"jwt-decode": "^3.1.2",
"surrealdb.js": "^0.8.0"
},
"devDependencies": {
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prefer-arrow-functions": "^3.1.4",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-admin": "^5.0.0",
"react-dom": "^18.2.0",
"typescript": "^5.0.2",
"vite": "^4.1.0",
"vite-plugin-dts": "^2.1.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn prettier",
"yarn lint --fix"
],
"*.json": [
"yarn prettierjson"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"files": [
"dist"
],
"main": "./dist/ra_surrealdb.umd.js",
"module": "./dist/ra_surrealdb.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/ra_surrealdb.es.js",
"require": "./dist/ra_surrealdb.umd.js"
}
}
}