-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.9 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.9 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
{
"name": "@elizaos/plugin-sql-root",
"private": true,
"version": "2.0.0-alpha.1",
"description": "",
"type": "module",
"main": "typescript/dist/index.js",
"types": "typescript/dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./typescript/dist/index.d.ts",
"import": "./typescript/dist/index.js",
"default": "./typescript/dist/index.js"
},
"./rust": {
"import": "./rust/pkg/node/elizaos_plugin_plugin_sql.js"
}
},
"files": [
"typescript/dist",
"README.md",
"python",
"rust/src",
"rust/Cargo.toml"
],
"keywords": [],
"author": "elizaOS",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/elizaos-plugins/plugin-sql"
},
"scripts": {
"build": "bun run build:ts && bun run build:rust && bun run build:python",
"build:ts": "cd typescript && bun run build.ts",
"build:rust": "test -d rust && cd rust && cargo build --release || echo 'Rust build skipped - no rust directory'",
"build:python": "test -n \"$SKIP_PYTHON_BUILD\" && echo 'Python build skipped (SKIP_PYTHON_BUILD set)' || (test -d python && cd python && (timeout 120 python3 -m build 2>/dev/null || timeout 120 pyproject-build 2>/dev/null) || echo 'Python build skipped or timed out')",
"dev": "cd typescript && bun --hot build.ts",
"test": "bun run test:ts && bun run test:rust && bun run test:python",
"test:ts": "cd typescript && vitest run || echo 'TypeScript tests skipped - no tests found'",
"test:rust": "test -d rust && cd rust && cargo test || echo 'Rust tests skipped'",
"test:python": "test -d python && cd python && pip install -e ../../../packages/python -q && pip install -e '.[dev]' -q && pytest -p no:anchorpy --asyncio-mode=auto || echo 'Python tests skipped'",
"typecheck": "tsc --noEmit -p typescript/tsconfig.json",
"lint": "cd typescript && bun run lint",
"lint:check": "cd typescript && bun run lint:check",
"lint:rust": "test -d rust && cd rust && cargo clippy --all-targets --fix --allow-dirty --allow-staged -- -D warnings && cargo fmt || echo 'Rust lint skipped'",
"lint:python": "test -d python && cd python && ruff check --fix . && ruff format . || echo 'Python lint skipped'",
"clean": "rm -rf typescript/dist python/dist rust/target .turbo node_modules",
"format": "cd typescript && bun run format",
"format:check": "cd typescript && bun run format:check",
"typecheck:python": "test -d python && cd python && mypy . --ignore-missing-imports || echo 'Python typecheck skipped'",
"typecheck:rust": "test -d rust && cd rust && cargo check || echo 'Rust typecheck skipped'"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/bun": "^1.3.5",
"@types/node": "^25.0.3",
"typescript": "^5.9.3"
},
"peerDependencies": {
"@elizaos/core": "workspace:*"
},
"gitHead": "05d4ca11d769db8c7f54a722ee24b2ce2b951543"
}