/
package.json
89 lines (89 loc) · 2.89 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
81
82
83
84
85
86
87
88
89
{
"name": "@tableland/sdk",
"version": "7.0.0",
"description": "A database client and helpers for the Tableland network",
"repository": {
"type": "git",
"url": "git+https://github.com/tablelandnetwork/tableland-js.git",
"directory": "packages/sdk"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
},
"./helpers": {
"require": "./dist/cjs/helpers/index.js",
"import": "./dist/esm/helpers/index.js",
"default": "./dist/esm/helpers/index.js"
},
"./registry": {
"require": "./dist/cjs/registry/index.js",
"import": "./dist/esm/registry/index.js",
"default": "./dist/esm/registry/index.js"
},
"./validator": {
"require": "./dist/cjs/validator/index.js",
"import": "./dist/esm/validator/index.js",
"default": "./dist/esm/validator/index.js"
},
"./database": {
"require": "./dist/cjs/database.js",
"import": "./dist/esm/database.js",
"default": "./dist/esm/database.js"
},
"./statement": {
"require": "./dist/cjs/statement.js",
"import": "./dist/esm/statement.js",
"default": "./dist/esm/statement.js"
},
"./**/*.js": {
"require": "./dist/cjs/*",
"import": "./dist/esm/*",
"default": "./dist/esm/*"
}
},
"files": [
"dist/**/*.js?(.map)",
"dist/**/*.d.ts",
"dist/**/package.json",
"src/**/*.ts"
],
"scripts": {
"prepublishOnly": "npm run build",
"test": "npm run test:browser && npm run test:mocha",
"test:mocha": "mocha --exit",
"test:browser": "npx playwright install --with-deps && PW_TS_ESM_ON=true playwright test",
"test:browser-show-report": "npx playwright show-report",
"test:ci": "npm run coverage",
"test-server": "cd test/browser/server && npm install && npm run dev",
"coverage": "c8 --exclude src/validator/client/fetcher.ts --exclude test --exclude dist mocha --exit",
"docs": "typedoc --entryPoints src/index.ts",
"clean": "rm -rf dist coverage docs",
"build:api": "npx openapi-typescript https://raw.githubusercontent.com/tablelandnetwork/docs/main/specs/validator/tableland-openapi-spec.yaml --output src/validator/client/validator.ts --immutable-types --path-params-as-types",
"build:esm": "npx tsc",
"build:cjs": "npx tsc -p tsconfig.cjs.json",
"build": "npm run build:api && npm run build:esm && npm run build:cjs && ./fixup"
},
"keywords": [
"tableland",
"sql",
"ethereum",
"database"
],
"license": "MIT AND Apache-2.0",
"dependencies": {
"@async-generators/from-emitter": "^0.3.0",
"@tableland/evm": "^6.1.0",
"@tableland/sqlparser": "^1.3.0",
"ethers": "^6.12.0"
}
}