1 | {
|
2 | "module": "./esm/index.js",
|
3 | "main": "./script/index.js",
|
4 | "types": "./types/index.d.ts",
|
5 | "name": "surrealdb.js",
|
6 | "version": "0.5.0",
|
7 | "description": "Javascript driver for SurrealDB",
|
8 | "license": "Apache 2.0",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/surrealdb/surrealdb.js.git"
|
12 | },
|
13 | "author": {
|
14 | "name": "Tobie Morgan Hitchcock",
|
15 | "url": "https://surrealdb.com"
|
16 | },
|
17 | "dependencies": {
|
18 | "isomorphic-ws": "^5.0.0",
|
19 | "ws": "^8.8.1"
|
20 | },
|
21 | "devDependencies": {
|
22 | "chalk": "4.1.2",
|
23 | "@types/node": "^18.7.18",
|
24 | "@types/ws": "8.5.3",
|
25 | "esbuild": "0.15.8"
|
26 | },
|
27 | "scripts": {
|
28 | "test": "node test_runner.js",
|
29 | "build:web": "esbuild ./esm/index.js --bundle --sourcemap --outfile=./web/index.js"
|
30 | },
|
31 | "exports": {
|
32 | ".": {
|
33 | "import": "./esm/index.js",
|
34 | "require": "./script/index.js",
|
35 | "types": "./types/index.d.ts"
|
36 | }
|
37 | }
|
38 | } |
\ | No newline at end of file |