@canboat/canboatjs
Version:
Native javascript version of canboat
111 lines (110 loc) • 3.24 kB
JSON
{
"name": "@canboat/canboatjs",
"version": "3.16.1",
"description": "Native javascript version of canboat",
"main": "dist/index.js",
"browser": "dist/browser.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev-test": "jest --watch",
"test": "jest && mocha --exit 'test/*.[jt]s'",
"code-coverage": "jest --coverage && nyc mocha --exit",
"build_ios": "webpack -c ./webpack.config.js --mode development ./ios.js -o ios_canboat.js",
"build_prod_ios": "webpack -c ./webpack.config.js --mode production ./ios.js -o ios_canboat.js",
"install": "node-gyp rebuild || echo 'Native CAN socket addon not available on this platform'",
"build": "tsc -b --pretty false",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"prettier": "prettier --write lib test",
"lint": "eslint --fix --format compact",
"ci-lint": "eslint && prettier --check lib test",
"ci-test": "npm run build && npm run test && npm run ci-lint",
"format": "npm run prettier && npm run lint"
},
"lint-staged": {
"lib/**/*.{js,ts}": [
"prettier --write",
"eslint --fix"
]
},
"bin": {
"analyzerjs": "dist/bin/analyzerjs.js",
"to-pgn": "dist/bin/to-pgn.js",
"actisense-serialjs": "dist/bin/actisense-serialjs.js",
"actisense-file": "dist/bin/actisense-file.js",
"actisense-n2k-tcp": "dist/bin/actisense-n2k-tcp.js",
"candumpjs": "dist/bin/candumpjs.js",
"ikonvert-serial": "dist/bin/ikonvert-serial.js",
"cansendjs": "dist/bin/cansendjs.js",
"ydr-file": "dist/bin/ydvr-file.js"
},
"keywords": [
"boat",
"bus",
"can",
"canboat",
"k",
"marine",
"nmea2000",
"parser",
"pgn",
"signalk",
"signal"
],
"author": "Scott Bender <scott@scottbender.net>",
"license": "Apache-2.0",
"engines": {
"node": ">=20"
},
"dependencies": {
"@canboat/ts-pgns": "^1.11.9",
"bit-buffer": "0.2.3",
"debug": "^4.3.4",
"dnssd": "^0.4.1",
"int64-buffer": "^0.1.10",
"lodash": "^4.17.4",
"minimist": "^1.2.0",
"moment": "^2.30.1",
"mqtt": "^2.18.8",
"node-addon-api": "^8.6.0",
"split": "^1.0.1"
},
"devDependencies": {
"@signalk/server-api": "^1.39.0",
"@tsconfig/node20": "^20.1.6",
"@types/chai": "^5.2.2",
"@types/debug": "^4.1.12",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.19",
"@types/minimist": "^1.2.5",
"baconjs": "^1.0.1",
"buffer": "^6.0.3",
"chai": "^4.1.2",
"chai-json-equal": "0.0.1",
"chai-string": "^1.5.0",
"chai-things": "^0.2.0",
"eslint": "^9.30.0",
"eslint-config-prettier": "^10.1.5",
"eslint-formatter-compact": "^8.40.0",
"eslint-plugin-prettier": "^5.5.1",
"jest": "^30.0.3",
"lint-staged": "^16.1.2",
"mocha": "^11.0.0",
"nyc": "^15.1.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.0",
"webpack-cli": "^6.0.1"
},
"gypfile": true,
"optionalDependencies": {
"@serialport/parser-readline": "11.x.x",
"serialport": "11.x.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/canboat/canboatjs.git"
}
}