napi-bindings
Version:
Nymi API bindings to work with Nymi SDK 4.x
125 lines (124 loc) • 3.18 kB
JSON
{
"name": "napi-bindings",
"description": "Nymi API bindings to work with Nymi SDK 4.x",
"version": "4.1.2",
"license": "Apache-2.0",
"keywords": [
"napi",
"nymi",
"nymi api",
"nymi bindings"
],
"dependencies": {
"ffi": "~2.3.0",
"ref": "~1.3.5"
},
"devDependencies": {
"nodeunit": "~0.11.3"
},
"repository": {
"type": "git",
"url": "https://github.com/PaddeK/node-napi-bindings.git"
},
"os": [
"win32",
"darwin"
],
"scripts": {
"postinstall": "node src/cleanup.js",
"test": "node tests/index.js",
"test-functional": "node tests/index.js functional"
},
"engines": {
"node": ">=6.9.1"
},
"main": "src/index",
"eslintConfig": {
"env": {
"es6": true,
"node": true
},
"root": true,
"extends": "eslint:recommended",
"rules": {
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": false,
"ArrowFunctionExpression": false
}
}
],
"max-len": [
"error",
{
"code": 120,
"tabWidth": 4,
"ignoreComments": true
}
],
"valid-jsdoc": [
"error",
{
"requireReturn": true,
"matchDescription": ".+",
"requireParamDescription": false,
"requireReturnDescription": false
}
],
"no-trailing-spaces": [
"error",
{
"skipBlankLines": false
}
],
"no-bitwise": "off",
"camelcase": "error",
"curly": "error",
"eqeqeq": "error",
"guard-for-in": "error",
"wrap-iife": [
"error",
"any"
],
"no-use-before-define": [
"error",
{
"functions": false
}
],
"new-cap": "error",
"no-caller": "error",
"no-empty": "error",
"no-new": "error",
"quotes": [
"error",
"single"
],
"no-undef": "error",
"no-unused-vars": "error",
"strict": [
"error",
"global"
],
"no-cond-assign": [
"error",
"except-parens"
],
"comma-style": [
"error",
"last"
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
]
}
}
}