UNPKG

node-libcurl

Version:

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

138 lines (137 loc) 4.75 kB
{ "name": "node-libcurl", "version": "2.3.4", "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" ], "homepage": "https://github.com/JCMais/node-libcurl", "bugs": { "url": "https://github.com/JCMais/node-libcurl/issues" }, "repository": { "type": "git", "url": "git://github.com/JCMais/node-libcurl.git" }, "license": "MIT", "author": "Jonathan Cardoso <me@jonathancardoso.com>", "main": "./dist/index.js", "types": "./dist/index.d.ts", "binary": { "module_name": "node_libcurl", "module_path": "./lib/binding/", "remote_path": "./v{version}/", "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz", "host": "https://github.com/JCMais/node-libcurl/releases/download" }, "scripts": { "ae": "api-extractor run --local --verbose", "brute-force-leak-test:run": "node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts", "brute-force-leak-test:run:debug:gdb": "gdb --args node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts", "brute-force-leak-test:server": "http-server ./tools/brute-force-server-static-folder -p 8080 -s", "build:dist": "tsc", "clean": "yarn clean:build && yarn clean:dist", "clean:build": "rimraf build", "clean:dist": "rimraf dist tsconfig.tsbuildinfo", "docs": "typedoc", "gen:compile_commands:debug": "yarn pregyp -- configure --debug -- --format=\"gyp.generator.compile_commands_json.py\"", "gen:compile_commands:release": "yarn pregyp -- configure --release -- --format=\"gyp.generator.compile_commands_json.py\"", "gen:constants": "node scripts/build-constants.js", "install": "node-pre-gyp install --fallback-to-build", "postinstall": "node scripts/postinstall", "lint": "eslint lib/ scripts/ test/ examples/", "pregyp": "node-pre-gyp", "prettier": "prettier --write", "prettier:all": "yarn prettier lib/**/*.ts tools/**/*.js scripts/**/*.js test/**/*.ts examples/**/*.js", "test": "mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000", "test:coverage": "nyc yarn test", "test:debug:gdb": "gdb --args node ./node_modules/.bin/mocha -r ts-node/register test/curl/hsts.spec.ts", "test:electron": "electron-mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000", "test:watch": "yarn test --watch --watch-files lib/*.ts lib/**/*.ts test/**/*.spec.ts", "preversion": "yarn lint && yarn clean:dist && yarn build:dist" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "*.{cpp,cc,h}": [ "clang-format -style=file -i" ], "*.{ts,js}": [ "prettier", "eslint --fix" ], "package.json": [ "sort-package-json", "prettier" ] }, "dependencies": { "@mapbox/node-pre-gyp": "1.0.5", "env-paths": "2.2.0", "nan": "2.15.0", "node-gyp": "7.1.2", "npmlog": "4.1.2", "rimraf": "^3.0.2", "tslib": "2.0.1" }, "devDependencies": { "@commitlint/cli": "^11.0.0", "@microsoft/api-documenter": "^7.9.10", "@microsoft/api-extractor": "^7.10.4", "@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": "^14.11.8", "@types/should": "^13.0.0", "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "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": "^7.11.0", "eslint-config-prettier": "^6.12.0", "eslint-formatter-friendly": "^7.0.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.1.4", "express": "^4.17.1", "formidable": "^1.2.2", "http-auth": "^4.1.2", "http-auth-connect": "^1.0.4", "husky": "^4.3.0", "lint-staged": "^10.4.0", "mocha": "^7.1.1", "np": "^6.5.0", "nyc": "^15.1.0", "octonode": "^0.9.5", "prettier": "^2.1.2", "progress": "^2.0.3", "should": "^13.2.3", "sort-package-json": "^1.46.0", "ts-node": "^8.8.2", "tslint": "^6.1.3", "tslint-config-airbnb": "^5.11.2", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.19.2", "typedoc-plugin-nojekyll": "^1.0.1", "typescript": "^4.0.3" }, "engines": { "node": ">= 8" }, "np": { "cleanup": false } }