UNPKG

node-libcurl

Version:

The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl

127 lines (126 loc) 3.98 kB
{ "name": "node-libcurl", "version": "2.2.0", "author": "Jonathan Cardoso <me@jonathancardoso.com>", "description": "The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl", "keywords": [ "node-curl", "curl", "libcurl", "node-libcurl", "axios", "request" ], "license": "MIT", "homepage": "https://github.com/JCMais/node-libcurl", "repository": { "type": "git", "url": "git://github.com/JCMais/node-libcurl.git" }, "bugs": { "url": "https://github.com/JCMais/node-libcurl/issues" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "install": "node-pre-gyp install --fallback-to-build", "postinstall": "node scripts/postinstall", "preversion": "yarn lint && yarn clean:dist && yarn build:dist", "build:dist": "tsc", "ae": "api-extractor run --local --verbose", "clean:build": "rimraf build", "clean:dist": "rimraf dist tsconfig.tsbuildinfo", "clean": "yarn clean:build && yarn clean:dist", "docs": "typedoc", "gen:constants": "node scripts/build-constants.js", "gen:compile_commands:release": "yarn pregyp -- configure --release -- --format=\"gyp.generator.compile_commands_json.py\"", "gen:compile_commands:debug": "yarn pregyp -- configure --debug -- --format=\"gyp.generator.compile_commands_json.py\"", "lint": "tslint -p . -c tslint.json", "lint:files": "tslint -c tslint.json", "pregyp": "node-pre-gyp", "prettier:all": "yarn prettier lib/**/*.ts tools/**/*.js scripts/**/*.js test/**/*.ts examples/**/*.js", "prettier": "prettier --write", "test": "mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000", "test:electron": "electron-mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000", "test:watch": "yarn test --watch --watch-files test/**/*.spec.ts" }, "binary": { "module_name": "node_libcurl", "module_path": "./lib/binding/", "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz", "host": "https://github.com/JCMais/node-libcurl/releases/download", "remote_path": "./v{version}/" }, "dependencies": { "env-paths": "2.2.0", "nan": "2.14.1", "node-gyp": "7.0.0", "node-pre-gyp": "0.15.0", "npmlog": "4.1.2", "tslib": "2.0.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.0", "@microsoft/api-extractor": "^7.8.0", "@types/body-parser": "^1.19.0", "@types/cookie-parser": "^1.4.2", "@types/express": "^4.17.4", "@types/formidable": "^1.0.31", "@types/mocha": "^7.0.2", "@types/node": "^12.6.8", "@types/should": "^13.0.0", "body-parser": "^1.19.0", "cheerio": "^1.0.0-rc.3", "clang-format": "^1.4.0", "cookie-parser": "^1.4.5", "electron-mocha": "^8.2.1", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-prettier": "^3.1.2", "express": "^4.17.1", "formidable": "^1.2.2", "http-auth": "^4.1.2", "http-auth-connect": "^1.0.4", "husky": "^4.2.3", "lint-staged": "^10.1.2", "mocha": "^7.1.1", "np": "^6.2.0", "octonode": "^0.9.5", "prettier": "^2.0.2", "progress": "^2.0.3", "rimraf": "^3.0.2", "should": "^13.2.3", "ts-node": "^8.8.2", "tslint": "^6.1.1", "tslint-config-airbnb": "^5.11.2", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.17.7", "typedoc-plugin-nojekyll": "^1.0.1", "typescript": "^3.9.3" }, "lint-staged": { "*.js": [ "yarn prettier", "yarn eslint --fix" ], "*.ts": [ "yarn prettier", "yarn lint:files --fix" ], "*.{cpp,cc,h}": [ "clang-format -style=file -i" ] }, "engines": { "node": ">= 8" }, "np": { "cleanup": false }, "husky": { "hooks": { "commitmsg": "commitlint -e $HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } } }