Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 4.1 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 4.1 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
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
116
117
118
119
120
121
122
123
124
{
"name": "tjbot-ce",
"version": "3.0.2",
"description": "TJBot: Community Edition - Node.js library for writing TJBot recipes",
"dependencies": {
"@iarna/toml": "^2.2.5",
"@inquirer/prompts": "^8.3.2",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"axios": "^1.14.0",
"cli-progress": "^3.12.0",
"color-model": "^0.2.2",
"fifo": "^2.4.1",
"import-meta-resolve": "^4.2.0",
"js-easing-functions": "^1.0.3",
"js-yaml": "^4.1.1",
"lgpio": "^1.0.6",
"mic": "^2.1.2",
"node-fetch": "^3.3.2",
"node-raspistill": "^2.0.1",
"onnxruntime-node": "^1.24.3",
"pi-camera-connect": "^0.3.4",
"pi-spi": "^1.2.1",
"rpi-ws281x-native": "^1.0.4",
"semaphore": "^1.1.0",
"sharp": "^0.34.5",
"sherpa-onnx-linux-arm64": "^1.12.35",
"sherpa-onnx-node": "^1.12.35",
"sleep": "^6.3.0",
"temp": "^0.9.4",
"winston": "^3.19.0"
},
"optionalDependencies": {
"@azure/cognitiveservices-computervision": "^8.2.0",
"@azure/ms-rest-js": "^2.7.0",
"@google-cloud/speech": "^7.3.0",
"@google-cloud/text-to-speech": "^6.4.0",
"@google-cloud/vision": "^5.3.5",
"ibm-watson": "^12.2.0",
"microsoft-cognitiveservices-speech-sdk": "^1.49.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/cli-progress": "^3.11.6",
"@types/js-yaml": "^4.0.9",
"@types/pi-spi": "^0.0.31",
"@types/rpi-ws281x-native": "^1.0.3",
"@types/temp": "^0.9.4",
"@vitest/coverage-v8": "^4.1.2",
"copyfiles": "^2.4.1",
"eslint": "^10.2.0",
"globals": "^17.4.0",
"json-schema-to-typescript": "^15.0.4",
"markdownlint-cli": "^0.48.0",
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.19",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"vitest": "^4.1.2",
"wav": "^1.0.2"
},
"main": "./dist/tjbot.js",
"types": "./dist/tjbot.d.ts",
"exports": {
".": {
"types": "./dist/tjbot.d.ts",
"import": "./dist/tjbot.js"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"docs": "test -d ../tjbot-ce.github.io && typedoc --options typedoc.cjs || echo 'Skipping docs generation: ../tjbot-ce.github.io not found'",
"format": "prettier --write \"src/**/*.{js,ts}\" \"tests/**/*.{js,ts}\"",
"format:check": "prettier --check \"src/**/*.{js,ts}\" \"tests/**/*.{js,ts}\"",
"generate:config-types": "node scripts/generate-config-types.mjs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"markdownlint": "markdownlint \"**/*.md\" --ignore node_modules",
"markdownlint:fix": "markdownlint \"**/*.md\" --ignore node_modules --fix",
"postbuild": "copyfiles -u 1 \"src/**/*.{toml,yaml,js}\" dist/",
"postinstall": "bash scripts/setup-sherpa.sh && chmod +x node_modules/prettier/bin/prettier.cjs || true",
"prebuild": "rm -rf dist/* && node scripts/sync-tjbot-config.mjs && npm run generate:config-types",
"prepack": "npm run build",
"pretest": "npm run build",
"publish-registry": "npm publish --access public",
"publish-registry-dry-run": "npm publish --dry-run --access public",
"sync:config-schema": "node scripts/sync-tjbot-config.mjs",
"test": "vitest run tests/core",
"test:coverage": "vitest --coverage",
"test-camera": "tsx tests/live/camera.test.ts",
"test-led": "tsx tests/live/led.test.ts",
"test-microphone": "tsx tests/live/microphone.test.ts",
"test-servo": "tsx tests/live/servo.test.ts",
"test-speaker": "tsx tests/live/speaker.test.ts",
"test-stt": "tsx tests/live/stt.test.ts",
"test-tts": "tsx tests/live/tts.test.ts",
"test-vision": "tsx tests/live/vision.test.ts",
"update-deps": "npx npm-check-updates",
"upgrade-deps": "npx npm-check-updates -u"
},
"type": "module",
"engines": {
"node": ">=20.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tjbot-ce/node-tjbotlib.git"
},
"keywords": [
"tjbot"
],
"author": "TJBot",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/tjbot-ce/node-tjbotlib/issues"
},
"homepage": "https://tjbot-ce.github.io/"
}