-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
80 lines (80 loc) · 2.5 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
79
80
{
"name": "supabase-react-query-codegen",
"version": "1.1.0",
"description": "A CLI tool to automatically generate React Query hooks and TypeScript types for your Supabase Database, streamlining data fetching and enhancing developer productivity.",
"main": "index.js",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/barrymichaeldoyle/supabase-react-query-codegen.git"
},
"scripts": {
"build": "tsc",
"lint": "eslint --cache \"src/**/*.{js,ts}\"",
"lint:fix": "eslint --cache --fix \"src/**/*.{js,ts}\"",
"test": "jest",
"test-cli": "npm run build && ts-node ./dist/cli.js",
"test-cli-config-js": "npm run test-cli -- generate example-codegen.config.js",
"test-cli-config-json": "npm run test-cli -- generate example-codegen.config.json",
"test-cli-options": "npm run test-cli -- generate --outputPath example/generated.ts --typesPath example/database.types.ts --supabaseExportName supabase",
"test-generate": "npm run build && node scripts/generate.js",
"test:watch": "jest --watch"
},
"bin": {
"supabase-react-query-codegen": "dist/cli.js"
},
"keywords": [
"code-generation",
"react-hooks",
"supabase",
"typescript",
"database",
"automatic",
"react-query",
"crud",
"utilities",
"developer-tools"
],
"author": "Barry Michael Doyle <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/barrymichaeldoyle/supabase-react-query-codegen/issues"
},
"homepage": "https://github.com/barrymichaeldoyle/supabase-react-query-codegen#readme",
"dependencies": {
"pluralize": "^8.0.0",
"prettier": "^2.8.8",
"ts-morph": "^18.0.0",
"yargs": "^17.7.2"
},
"peerDependencies": {
"@supabase/supabase-js": "^2.20.0",
"react-query": "^3.39.3"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/pluralize": "^0.0.29",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-security-node": "^1.1.1",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": "npm run lint:fix"
}
}