package.json
{
"name": "@natlibfi/http-client-x",
"description": "Simple HTTP client that works both in Node.js and browser",
"author": {
"name": "The National Library of Finland"
},
"keywords": [
"http",
"xmlhttprequest",
"fetch",
"get",
"head",
"delete",
"post",
"put",
"rest",
"network",
"request",
"client",
"browser",
"node",
"cross-platform"
],
"homepage": "https://github.com/NatLibFi/http-client-x",
"bugs": {
"url": "https://github.com/NatLibFi/http-client-x/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:NatLibFi/http-client-x.git"
},
"license": " LGPL-3.0+",
"version": "1.0.3",
"scripts": {
"lint": "jshint .",
"test-nodejs": "istanbul cover --dir coverage/nodejs _mocha -- test/*.spec.js test/nodejs/*.spec.js",
"test-browser": "npm run generate-requirejs-config && karma start",
"cover-nodejs": "npm run test-nodejs && istanbul check-coverage coverage/nodejs/coverage.json",
"cover-browser": "npm run test-browser && istanbul check-coverage coverage/browser/coverage-final.json",
"cover": "npm run test && npm run combine-coverage && istanbul check-coverage coverage/combined/coverage-final.json",
"test": "npm run test-nodejs && npm run test-browser",
"check": "npm run lint && npm run cover",
"travisci": "npm run check",
"combine-coverage": "istanbul-combine -d coverage/combined -r html -r lcov -r json coverage/nodejs/coverage.json coverage/browser/coverage-final.json",
"publish-to-npm": "npm install && npm run check && npm publish --access=public",
"generate-requirejs-config": "requirejs-configurator --npm -D > test/browser/main.js"
},
"dependencies": {
"@natlibfi/es6-polyfills": "^2.0.1"
},
"devDependencies": {
"chai": "^3.2.0",
"chai-as-promised": "^5.3.0",
"jshint": "^2.8.0",
"simple-mock": "^0.7.0",
"nock": "^8.0.0",
"@natlibfi/xmlhttprequest-mock": "^2.0.1",
"mocha": "https://github.com/jRiest/mocha#fix_browser_delay_built",
"istanbul": "^0.4.2",
"istanbul-combine": "^0.3.0",
"karma": "^1.7.0",
"karma-mocha": "^1.3.0",
"karma-coverage": "^1.1.1",
"karma-requirejs": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-requirejs-preprocessor": "^0.0.2",
"phantomjs-prebuilt": "^2.1.14",
"requirejs-configurator": "https://github.com/natlibfi-arlehiko/requirejs-configurator#peer-deps",
"codeclimate-test-reporter": "^0.5.0",
"requirejs": "^2.3.3"
}
}