File size: 2,287 Bytes
5c05829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "@supabase/supabase-js",
  "version": "2.39.1",
  "description": "Isomorphic Javascript client for Supabase",
  "keywords": [
    "javascript",
    "typescript",
    "supabase"
  ],
  "homepage": "https://github.com/supabase/supabase-js",
  "bugs": "https://github.com/supabase/supabase-js/issues",
  "license": "MIT",
  "author": "Supabase",
  "files": [
    "dist",
    "src"
  ],
  "main": "dist/main/index.js",
  "module": "dist/module/index.js",
  "types": "dist/module/index.d.ts",
  "sideEffects": false,
  "repository": "supabase/supabase-js",
  "scripts": {
    "clean": "rimraf dist docs/v2",
    "format": "prettier --write \"{src,test}/**/*.ts\"",
    "build": "run-s clean format build:*",
    "build:main": "tsc -p tsconfig.json",
    "build:module": "tsc -p tsconfig.module.json",
    "build:umd": "webpack",
    "types-generate": "dts-gen -m '@supabase/supabase-js' -s",
    "test": "jest --runInBand",
    "test:coverage": "jest --runInBand --coverage",
    "test:db": "cd infra/db && docker-compose down && docker-compose up -d && sleep 5",
    "test:watch": "jest --watch --verbose false --silent false",
    "test:clean": "cd infra/db && docker-compose down",
    "docs": "typedoc --entryPoints src/index.ts --out docs/v2 --includes src/**/*.ts",
    "docs:json": "typedoc --entryPoints src/index.ts --includes src/**/*.ts --json docs/v2/spec.json --excludeExternals"
  },
  "dependencies": {
    "@supabase/functions-js": "^2.1.5",
    "@supabase/gotrue-js": "^2.60.0",
    "@supabase/node-fetch": "^2.6.14",
    "@supabase/postgrest-js": "^1.8.6",
    "@supabase/realtime-js": "^2.8.4",
    "@supabase/storage-js": "^2.5.4"
  },
  "devDependencies": {
    "@types/jest": "^29.2.5",
    "husky": "^4.3.0",
    "jest": "^29.3.1",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.5.1",
    "pretty-quick": "^3.1.3",
    "rimraf": "^3.0.2",
    "semantic-release-plugin-update-version-in-files": "^1.1.0",
    "ts-jest": "^29.0.5",
    "ts-loader": "^8.0.11",
    "ts-node": "^10.9.1",
    "typedoc": "^0.22.16",
    "typescript": "^4.5.5",
    "webpack": "^5.69.1",
    "webpack-cli": "^4.9.2"
  },
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
    }
  },
  "jsdelivr": "dist/umd/supabase.js",
  "unpkg": "dist/umd/supabase.js"
}