UNPKG

@rill/http

Version:

Universal http module with createServer support.

85 lines (84 loc) 2.41 kB
{ "name": "@rill/http", "description": "Universal http module with createServer support.", "version": "7.0.0", "author": "Dylan Piercey <pierceydylan@gmail.com>", "browser": { "./dist/server/index.js": "./dist/client/index.js", "events": "events-light" }, "bugs": "https://github.com/rill-js/http/issues", "dependencies": { "events-light": "^1.0.5", "get-loc": "^2.0.6", "get-win": "^1.0.1", "mini-querystring": "^2.0.6", "mini-url": "^2.1.9", "parse-form": "^4.0.5", "statuses": "^1.4.0", "tslib": "^1.8.0" }, "devDependencies": { "@types/es6-promise": "0.0.33", "@types/mocha": "^2.2.44", "@types/node": "^8.0.53", "browserify": "^14.5.0", "coveralls": "^3.0.0", "easy-sauce": "^0.4.1", "es6-promise": "^4.1.1", "husky": "^0.14.3", "isomorphic-fetch": "^2.2.1", "jsdom": "^11.3.0", "jsdom-global": "^3.0.2", "lint-staged": "^5.0.0", "mocha": "^4.0.1", "nyc": "^11.3.0", "prettier": "^1.8.2", "source-map-support": "^0.5.0", "ts-node": "^3.3.0", "tsify": "^3.0.3", "tslint": "^5.8.0", "tslint-config-prettier": "^1.6.0", "typescript": "^2.6.1" }, "files": [ "adapter", "dist" ], "homepage": "https://github.com/rill-js/http", "keywords": [ "browser", "client", "http", "isomorphic", "rill", "server", "universal", "web" ], "license": "MIT", "lint-staged": { "*.ts": [ "prettier --write", "tslint -t codeFrame -c tslint.json", "git add" ] }, "main": "dist/server/index.js", "repository": { "type": "git", "url": "https://github.com/rill-js/http" }, "scripts": { "build": "tsc", "build-tests": "browserify -p tsify --debug ./test/*.test.ts > test/_run.js", "coveralls": "cat coverage/lcov.info | coveralls", "format-all": "find {src,test} -name '*.ts' | xargs prettier --write", "mocha": "mocha --bail --timeout=3000 -r ./test/init.js ./test/*.test.ts", "precommit": "lint-staged && npm test && npm run build", "saucelabs": "npm run build-tests && easy-sauce -c saucelabs.json", "test": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcov --reporter=text-summary npm run mocha", "test-ci": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcovonly --reporter=text npm run mocha" }, "types": "dist/client/index.d.ts" }