firmware-base/cli-ts/package.json

65 lines
2.2 KiB
JSON

{
"name": "pm-config",
"version": "1.0.0",
"description": "",
"main": "dist-in/index.js",
"bin": {
"pm-config": "dist-in/index.js"
},
"type": "module",
"scripts": {
"start": "node dist-in/index.js",
"build": "tsc",
"dev": "tsc -w",
"connect": "node dist-in/commands/ws-client.js",
"test": "vitest run",
"test:di": "vitest run tests/di/plunger.test.ts",
"test:components": "vitest run tests/ast/components.test.ts",
"test:mb": "pm-config mb --fn 6 --reg 100 --value 1",
"test:mb:read": "pm-config mb --fn 3 --reg 1258 --count 2",
"build:proto": "ts-node src/commands/build-proto.ts",
"build:proto:js": "npm run build:proto -- --lang=js",
"setup-profiles": "ts-node src/commands/setup-profiles.ts",
"setup-settings": "ts-node src/commands/setup-settings.ts",
"reset": "node dist-in/index.js mb --fn 6 --reg 100 --value 1",
"setup-signals": "ts-node src/commands/setup-signals.ts",
"setup-network": "pm-config setup-network",
"patch-config": "ts-node src/commands/patch-config.ts",
"webpack": "webpack --config webpack.config.js --stats-error-details"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@polymech/client-ts": "file:../web/packages/client",
"@polymech/commons": "file:../../polymech-mono/packages/commons",
"@polymech/fs": "file:../../polymech-mono/packages/fs",
"@types/jsonpath-plus": "^5.0.5",
"@types/unist": "^3.0.3",
"cheerio": "^1.1.0",
"env-var": "^7.5.0",
"ink": "^6.0.1",
"jsmodbus": "^4.0.6",
"jsonpath-plus": "^10.3.0",
"nexe": "^5.0.0-beta.4",
"protobufjs": "^7.5.3",
"tree-sitter": "^0.21.1",
"tree-sitter-cpp": "^0.23.4",
"ts-node": "^10.9.2",
"tslog": "^4.9.3",
"utf-8-validate": "^6.0.5",
"ws": "^8.18.0",
"yargs": "^17.7.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.19.11",
"@types/ws": "^8.5.11",
"@types/yargs": "^17.0.32",
"typescript": "^5.3.3",
"vitest": "^1.6.0",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1",
"webpack-visualizer-plugin2": "^2.0.0"
}
}