You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.8 KiB
JSON
114 lines
2.8 KiB
JSON
8 months ago
|
{
|
||
|
"name": "@serialport/bindings-cpp",
|
||
|
"description": "SerialPort Hardware bindings for node serialport written in c++",
|
||
|
"version": "10.8.0",
|
||
|
"main": "./dist/index.js",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"keywords": [
|
||
|
"serialport-binding",
|
||
|
"COM",
|
||
|
"com port",
|
||
|
"hardware",
|
||
|
"iot",
|
||
|
"modem",
|
||
|
"serial port",
|
||
|
"serial",
|
||
|
"serialport",
|
||
|
"tty",
|
||
|
"UART"
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"@serialport/bindings-interface": "1.2.2",
|
||
|
"@serialport/parser-readline": "^10.2.1",
|
||
|
"debug": "^4.3.2",
|
||
|
"node-addon-api": "^5.0.0",
|
||
|
"node-gyp-build": "^4.3.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@semantic-release/exec": "6.0.3",
|
||
|
"@serialport/binding-mock": "10.2.2",
|
||
|
"@types/chai": "4.3.4",
|
||
|
"@types/chai-subset": "1.3.3",
|
||
|
"@types/debug": "4.1.7",
|
||
|
"@types/mocha": "10.0.0",
|
||
|
"@types/node": "18.11.9",
|
||
|
"@typescript-eslint/eslint-plugin": "5.43.0",
|
||
|
"@typescript-eslint/parser": "5.43.0",
|
||
|
"cc": "3.0.1",
|
||
|
"chai": "4.3.7",
|
||
|
"chai-subset": "1.6.0",
|
||
|
"esbuild": "0.15.14",
|
||
|
"esbuild-register": "3.4.1",
|
||
|
"eslint": "8.27.0",
|
||
|
"mocha": "10.1.0",
|
||
|
"node-abi": "3.28.0",
|
||
|
"node-gyp": "9.3.0",
|
||
|
"nyc": "15.1.0",
|
||
|
"prebuildify": "5.0.1",
|
||
|
"prebuildify-cross": "5.0.0",
|
||
|
"semantic-release": "19.0.5",
|
||
|
"shx": "0.3.4",
|
||
|
"sinon": "14.0.2",
|
||
|
"typescript": "4.9.3"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=12.17.0 <13.0 || >=14.0.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "rm -rf dist && tsc -p tsconfig-build.json",
|
||
|
"install": "node-gyp-build",
|
||
|
"prebuildify": "prebuildify --napi --target 14.0.0 --force --strip --verbose",
|
||
|
"prebuildify-cross": "prebuildify-cross --napi --target 14.0.0 --force --strip --verbose",
|
||
|
"rebuild": "node-gyp rebuild",
|
||
|
"format": "eslint lib test bin --fix",
|
||
|
"lint": "eslint lib test bin && cc --verbose",
|
||
|
"test": "nyc --reporter lcov --reporter text mocha",
|
||
|
"test:arduino": "TEST_PORT=$(./bin/find-arduino.ts) npm test",
|
||
|
"test:watch": "mocha -w",
|
||
|
"semantic-release": "semantic-release",
|
||
|
"typecheck": "tsc"
|
||
|
},
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"gypfile": true,
|
||
|
"cc": {
|
||
|
"filter": [
|
||
|
"legal/copyright",
|
||
|
"build/include"
|
||
|
],
|
||
|
"files": [
|
||
|
"src/*.cpp",
|
||
|
"src/*.h"
|
||
|
],
|
||
|
"linelength": "120"
|
||
|
},
|
||
|
"binary": {
|
||
|
"napi_versions": [
|
||
|
6
|
||
|
]
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/serialport/bindings-cpp.git"
|
||
|
},
|
||
|
"funding": "https://opencollective.com/serialport/donate",
|
||
|
"changelog": {
|
||
|
"labels": {
|
||
|
"breaking": ":boom: BREAKING CHANGES :boom:",
|
||
|
"feature-request": "Features",
|
||
|
"bug": "Bug Fixes",
|
||
|
"docs": "Documentation",
|
||
|
"internal": "Chores"
|
||
|
}
|
||
|
},
|
||
|
"mocha": {
|
||
|
"bail": true,
|
||
|
"require": [
|
||
|
"esbuild-register"
|
||
|
],
|
||
|
"spec": "lib/**/*.test.*"
|
||
|
}
|
||
|
}
|