mirror of
https://github.com/scottbez1/smartknob.git
synced 2025-09-26 23:09:27 +08:00

- reworked smartknobjs into separate smartknobjs-node and smartknobjs-webserial packages - configured CI to build and deploy webserial example to https://scottbez1.github.io/smartknob/
30 lines
838 B
JSON
30 lines
838 B
JSON
{
|
|
"name": "example-cli",
|
|
"version": "0.1.0",
|
|
"description": "SmartKnob Interface Example",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "prettier --write \"**/*.+(js|ts|json)\"",
|
|
"lint": "eslint --ext .js,.ts .",
|
|
"main": "ts-node src/index.ts"
|
|
},
|
|
"author": "",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"serialport": "^9.2.4",
|
|
"smartknobjs-proto": "^1.0.0",
|
|
"smartknobjs-webserial": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/serialport": "^8.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
"@typescript-eslint/parser": "^5.40.1",
|
|
"eslint": "^8.25.0",
|
|
"prettier": "^2.4.1",
|
|
"ts-node": "^10.2.1",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|