mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Migrate from NAN to N-API - this should allow an easier time working with electron and all versions of nodejs * Change dependency to napi * include napi * update shared functionality to NAPI * update unix methods to include napi_env * Convert OpenBaton to AsyncWorker * SetError within Execute() * Replace napi_create_async_work for common methods * remove redundant ByteSize Setting * fix typo * NODE_ADDON_API_ENABLE_MAYBE * optional - remove warnings * Remove OnError logic BREAKING CHANGE: This release switches to NAPI which changes how many binaries are released and will potentially break your build system
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"name": "serialport-monorepo",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Node.js packages to access serial ports, process data from them and speak many protocols",
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"rebuild": "lerna run --stream rebuild",
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"format": "eslint packages test --fix",
|
|
"generate": "plop",
|
|
"lint": "eslint packages test && lerna run --stream lint",
|
|
"outdated": "lerna exec --no-bail npm outdated && npm outdated",
|
|
"postinstall": "lerna bootstrap --no-ci",
|
|
"prebuild": "lerna run --stream prebuild",
|
|
"publish": "lerna publish --exact",
|
|
"test": "nyc --reporter=html --reporter=text --reporter lcovonly mocha",
|
|
"test:arduino": "TEST_PORT=$(./bin/find-arduino.js) npm test",
|
|
"test:watch": "mocha -w"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/node-serialport/node-serialport.git"
|
|
},
|
|
"devDependencies": {
|
|
"cc": "^3.0.1",
|
|
"chai-subset": "^1.6.0",
|
|
"chai": "^4.3.4",
|
|
"codecov": "^3.8.3",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-mocha": "^9.0.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-promise": "^5.1.1",
|
|
"eslint": "^8.2.0",
|
|
"lerna-changelog": "^2.2.0",
|
|
"lerna": "^4.0.0",
|
|
"mocha": "^9.1.3",
|
|
"node-abi": "3.5.0",
|
|
"node-addon-api": "^4.2.0",
|
|
"nyc": "^15.1.0",
|
|
"plop": "^2.7.6",
|
|
"prebuild": "^11.0.0",
|
|
"prettier": "^2.4.1",
|
|
"proxyquire": "^2.1.3",
|
|
"sinon": "^12.0.1"
|
|
},
|
|
"funding": "https://opencollective.com/serialport/donate",
|
|
"changelog": {
|
|
"labels": {
|
|
"breaking": ":boom: BREAKING CHANGES :boom:",
|
|
"feature-request": "Features",
|
|
"bug": "Bug Fixes",
|
|
"docs": "Documentation",
|
|
"internal": "Chores"
|
|
}
|
|
}
|
|
}
|