@jcoreio/iron-pi-ipc-codec
Version:
Encodes and decodes SPI bus messages exchanged with the Iron Pi
114 lines (113 loc) • 3.84 kB
JSON
{
"name": "@jcoreio/iron-pi-ipc-codec",
"version": "4.0.0",
"description": "Encodes and decodes SPI bus messages exchanged with the Iron Pi",
"engines": {
"node": ">=8.0.0"
},
"main": "lib/index.js",
"sideEffects": false,
"files": [
"lib/",
"README.md",
"LICENSE.md",
"yarn.lock"
],
"scripts": {
"lint": "eslint src test --cache",
"lint:fix": "eslint --fix src test --cache",
"lint:watch": "esw --watch src test --cache",
"flow": "flow",
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"clean": "rimraf lib",
"protobuf-compile": "pbjs src/protocol.proto -t json -o src/protocol.json",
"build": "yarn run clean && yarn run protobuf-compile && babel src --out-dir lib && flow-copy-source -v src/ lib && copyfiles -f src/protocol.json lib",
"test": "yarn run protobuf-compile && NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha",
"coverage": "yarn run protobuf-compile && NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "yarn run lint && flow",
"prepush": "npm test",
"prepublishOnly": "yarn run clean && yarn run lint && flow && npm test && yarn run build",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release"
},
"config": {
"mocha": "-r babel-register ./test/**/*.js",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "https://github.com/jcoreio/iron-pi-ipc-codec.git"
},
"keywords": [
"SPI"
],
"author": "Jason McLaurin",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/jcoreio/iron-pi-ipc-codec/issues"
},
"homepage": "https://github.com/jcoreio/iron-pi-ipc-codec#readme",
"devDependencies": {
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@jedwards1211/commitlint-config": "^1.0.0",
"@jedwards1211/eslint-config": "^2.0.0",
"@jedwards1211/eslint-config-flow": "^1.0.0",
"babel-cli": "^6.23.0",
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-plugin-istanbul": "^4.0.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.23.0",
"babel-runtime": "^6.23.0",
"chai": "^4.1.2",
"codecov": "^3.0.0",
"condition-circle": "^2.0.1",
"copy": "^0.3.0",
"copyfiles": "^2.1.0",
"eslint": "^3.15.0",
"eslint-plugin-flowtype": "^2.30.0",
"eslint-watch": "^3.0.0",
"flow-bin": "^0.83.0",
"flow-copy-source": "^1.2.1",
"flow-watch": "^1.1.0",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"mocha": "^4.1.0",
"nyc": "^11.4.1",
"rimraf": "^2.6.0",
"semantic-release": "^15.12.0"
},
"dependencies": {
"protobufjs": "^6.8.8"
},
"publishConfig": {
"access": "public"
},
"release": {
"verifyConditions": "condition-circle"
}
}