@waynew/boa
Version:
Use Python modules seamlessly in Node.js
81 lines (80 loc) • 2.27 kB
JSON
{
"name": "@waynew/boa",
"version": "2.1.3",
"description": "Use Python modules seamlessly in Node.js",
"main": "lib/index.js",
"scripts": {
"clean": "sh tools/clean-python.sh && make -C ./pybind11/ clean",
"predeps": "tools/check-dependence.js",
"deps": "make -C ./pybind11/ && tools/install-python.js",
"install": "node-pre-gyp install --fallback-to-build=false || npm run build",
"pretest": "npm run lint && ./.miniconda/bin/pip install numpy",
"test": "ava",
"postinstall": "npm run build",
"cov": "nyc --reporter=text-summary npm run test",
"cov:report": "nyc report -r=lcov",
"lint": "npm run lint:js && npm run lint:clang",
"lint:js": "eslint . -c .eslintrc.js --no-eslintrc",
"lint:clang": "./clang-format.py",
"build": "npm run deps && npm run compile",
"pre-gyp": "node-pre-gyp package",
"codecov": "nyc report --reporter=lcovonly && codecov",
"htmlcov": "nyc report --reporter=html",
"compile": "node-pre-gyp rebuild"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/alibaba/pipcook.git"
},
"keywords": [
"python",
"pybind11"
],
"gypfile": true,
"author": "Yorkie Liu <yorkiefixer@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/alibaba/pipcook/issues"
},
"homepage": "https://github.com/alibaba/pipcook#readme",
"ava": {
"extensions": [
"js",
"ts"
],
"require": [
"ts-node/register"
]
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"debug": "^4.1.1",
"node-addon-api": "^3.0.0"
},
"devDependencies": {
"@types/node": "^14.14.37",
"ava": "^5.2.0",
"codecov": "^3.6.5",
"eslint": "^7.15.0",
"nyc": "^15.1.0",
"ts-node": "^8.6.2",
"typescript": "^4.2.3"
},
"publishConfig": {
"access": "public"
},
"bin": {
"bip": "./tools/bip.js"
},
"binary": {
"module_name": "boa",
"module_path": "./binding/v{napi_build_version}",
"package_name": "{module_name}-v{version}-{platform}-{arch}-napi-v{napi_build_version}.tar.gz",
"host": "https://boa-binary.oss-cn-hangzhou.aliyuncs.com",
"bucket": "boa-binary",
"region": "oss-cn-hangzhou",
"napi_versions": [
6
]
}
}