-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
115 lines (115 loc) · 3.73 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@tableland/sdk",
"version": "0.0.0",
"description": "A database client and helpers for the Tableland network",
"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": {
"lint": "eslint '**/*.{js,ts}'",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier '**/*.{ts,json,sol,md}' --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"prepublishOnly": "npm run build",
"test": "mocha",
"test:browser": "PW_TS_ESM_ON=true playwright test",
"test:browser-show-report": "npx playwright show-report",
"test-server": "cd test/browser/server && npm install && npm run dev",
"coverage": "c8 --exclude src/validator/client/fetcher.ts --exclude test 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",
"devDependencies": {
"@databases/escape-identifier": "^1.0.3",
"@databases/sql": "^3.2.0",
"@ethersproject/experimental": "^5.7.0",
"@playwright/test": "^1.30.0",
"@tableland/local": "^2.0.1",
"@types/assert": "^1.5.6",
"@types/mocha": "^10.0.1",
"@types/node": "^20.1.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"assert": "^2.0.0",
"c8": "^8.0.0",
"d1-orm": "^0.7.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^10.2.0",
"openapi-typescript": "^6.1.0",
"prettier": "^2.8.2",
"ts-node": "^10.9.1",
"typedoc": "^0.24.6",
"typescript": "^5.0.4"
},
"dependencies": {
"@async-generators/from-emitter": "^0.3.0",
"@tableland/evm": "^4.3.0",
"@tableland/sqlparser": "^1.3.0",
"ethers": "^5.7.2"
}
}