-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.63 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.63 KB
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
{
"name": "@spiceai/spice",
"description": "JS + TS SDK for spice.ai",
"version": "3.1.0",
"engines": {
"node": ">=20.0.0"
},
"main": "dist/node/index.node.js",
"types": "dist/node/index.node.d.ts",
"browser": "dist/browser/index.browser.js",
"exports": {
".": {
"node": {
"require": "./dist/node/index.node.js",
"import": "./dist/node/index.node.js",
"types": "./dist/node/index.node.d.ts"
},
"browser": {
"import": "./dist/browser/index.browser.js",
"require": "./dist/browser/index.browser.js",
"types": "./dist/browser/index.browser.d.ts"
},
"default": "./dist/node/index.node.js"
}
},
"files": [
"dist"
],
"repository": "git@github.com:spiceai/spice.js.git",
"author": "Spice AI, Inc. <webmaster@spice.ai>",
"license": "MIT",
"dependencies": {
"@types/node-fetch": "^2.6.12",
"@types/retry": "^0.12.5",
"apache-arrow": "21.1.0"
},
"optionalDependencies": {
"@grpc/grpc-js": "^1.14.3",
"@grpc/proto-loader": "^0.8.0",
"node-fetch": "^2",
"protobufjs": "^8.0.0",
"retry": "^0.13.1"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^18.19.130",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"dotenv": "^17.2.3",
"eslint": "^8.57.0",
"glob": "^11.0.3",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.0.0",
"nodemon": "^3.1.11",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.1",
"typescript": "^5.7.2"
},
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist', {recursive: true, force: true})\"",
"prebuild": "npm run clean",
"build": "npm run build:node && npm run build:browser && npm run postbuild",
"build:node": "tsc -p tsconfig.node.json",
"build:browser": "tsc -p tsconfig.browser.json",
"postbuild": "node scripts/postbuild.js",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"typecheck": "tsc --noEmit && tsc -p tsconfig.node.json --noEmit && tsc -p tsconfig.browser.json --noEmit",
"run": "node dist/node/index.node.js",
"pretest": "npm run build",
"test": "jest",
"test:node": "jest --config jest.config.node.js",
"test:browser": "jest --config jest.config.browser.js",
"test:perf": "jest --config jest.config.node.js test/performance.test.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"dev": "npx nodemon --exec ts-node ./test/index.ts --watch test --ext .ts",
"preversion": "npm run build"
},
"overrides": {
"test-exclude": {
"glob": "^11.0.0"
}
}
}