honoka
Version:
Just a fetch() API wrapper for both Browser and Node.js.
97 lines (96 loc) • 2.91 kB
JSON
{
"name": "honoka",
"version": "0.5.2",
"description": "Just a fetch() API wrapper for both Browser and Node.js.",
"main": "index.js",
"module": "lib/honoka.esm.js",
"browser": "lib/honoka.js",
"react-native": "lib/honoka.js",
"unpkg": "lib/honoka.min.js",
"jsdelivr": "lib/honoka.min.js",
"typings": "types/index.d.ts",
"scripts": {
"build": "rimraf lib && rollup -c",
"lint": "eslint ./src",
"start": "rollup -c -w",
"pretest": "tsc --noEmit --p ./types && npm run build",
"test": "npm run test:browser && npm run test:node",
"posttest": "npm run lint",
"test:browser": "cross-env NODE_ENV=test karma start",
"test:watch": "cross-env NODE_ENV=test karma start --debug --watch --singleRun=false",
"test:node": "cross-env NODE_ENV=test:node mocha --require @babel/register --timeout 30000 test/**/*.mocha.js",
"coverage": "cat ./coverage/lcov.info | coveralls",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kokororin/honoka.git"
},
"keywords": [
"fetch",
"xhr",
"ajax",
"promise",
"lovelive"
],
"author": "kokororin",
"license": "MIT",
"bugs": {
"url": "https://github.com/kokororin/honoka/issues"
},
"homepage": "https://github.com/kokororin/honoka#readme",
"dependencies": {
"array-reduce": "^0.0.0",
"foreach": "^2.0.5",
"merge-options": "^2.0.0",
"node-fetch": "^2.6.0",
"querystring": "^0.2.0",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.5",
"@babel/register": "^7.9.0",
"@babel/runtime": "^7.9.2",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"babel-loader": "^8.1.0",
"body-parser": "^1.18.2",
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
"cors": "^2.8.5",
"coveralls": "^3.0.13",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-kotori": "^0.5.8",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^5.0.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-express-http-server": "^0.0.1",
"karma-mocha": "^2.0.0",
"karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"mocha": "^7.1.1",
"multer": "^1.3.0",
"puppeteer": "^1.5.0",
"rimraf": "^3.0.2",
"rollup": "^2.7.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-filesize": "^7.0.0",
"rollup-plugin-terser": "^5.3.0",
"typescript": "^3.7.5",
"webpack": "^4.43.0"
},
"files": [
"lib",
"index.js",
"types/*.d.ts"
]
}