71 строка
2.1 KiB
JSON
71 строка
2.1 KiB
JSON
{
|
|
"name": "jacdac-cli",
|
|
"version": "1.4.0",
|
|
"description": "Command line interface for Jacdac",
|
|
"preferGlobal": true,
|
|
"main": "./dist/cli.ts",
|
|
"bin": {
|
|
"jacdac": "./jacdac",
|
|
"jacdac-cli": "./jacdac"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint src/**/*.ts",
|
|
"prettier": "prettier --write src/**/*.ts",
|
|
"build": "microbundle --no-compress",
|
|
"watch": "microbundle watch",
|
|
"devtools": "yarn build && node ./dist/cli.js devtools",
|
|
"devtools:serial": "yarn build && node ./dist/cli.js devtools --serial",
|
|
"devtools:usb": "yarn build && node ./dist/cli.js devtools --usb",
|
|
"test:usb": "yarn build && node ./dist/cli.js stream --usb --packets --sensors",
|
|
"publish:pi": "yarn build && scp -r ../jacdac-ts/dist/* pi@192.168.0.131:/home/pi/gh/jacdac-cli/node_modules/jacdac-ts/dist && scp -r ./dist/* pi@192.168.0.131:/home/pi/gh/jacdac-cli/dist"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/jacdac-cli.git"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"keywords": [
|
|
"jacdac",
|
|
"cli"
|
|
],
|
|
"author": "Microsoft Corporation",
|
|
"bugs": {
|
|
"url": "https://github.com/microsoft/jacdac-cli/issues"
|
|
},
|
|
"homepage": "https://github.com/microsoft/jacdac-cli#readme",
|
|
"dependencies": {
|
|
"commander": "^9.0.0",
|
|
"faye-websocket": "^0.11.4",
|
|
"jacdac-ts": "^1.24.19"
|
|
},
|
|
"devDependencies": {
|
|
"@semantic-release/exec": "^6.0.3",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
"@typescript-eslint/parser": "^5.11.0",
|
|
"eslint": "^8.8.0",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"microbundle": "^0.14.2",
|
|
"prettier": "^2.5.1",
|
|
"semantic-release": "^19.0.2",
|
|
"tslint-microsoft-contrib": "^6.2.0",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"rpio": "^2.4.2",
|
|
"spi-device": "^3.1.2",
|
|
"serialport": "^9.2.8",
|
|
"usb": "^2.1.2"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"public"
|
|
]
|
|
}
|