Permalink
Find file Copy path
a198011 Jan 11, 2019
vaheqelyan 0.12.0
0 contributors

Users who have contributed to this file

73 lines (72 sloc) 2.02 KB
{
"name": "karin",
"version": "0.12.0",
"description": "An elegant promise based HTTP client for javascript",
"main": "build/node/index.js",
"browser": "build/browser/index.umd.js",
"keywords": [
"http-requests",
"client",
"http-client",
"node.js",
"browser",
"javascript",
"template literals",
"tagged templates"
],
"files": [
"build/browser",
"build/node"
],
"scripts": {
"go": "npm-run-all pretty lint build:node build:browser test",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "ava",
"preversion": "npm run go",
"pretty": "prettier --config .prettierrc --write \".eslintrc\" \"test/**/*.js\" \"src/**/*.js\" \"src/**/**/*.js\" \"src/*.js\" \"package.json\" \"tsconfig.json\" ",
"build": "npm-run-all build:node build:browser",
"build:node": "microbundle build -i src/node/index.js --no-compress --no-sourcemap -f cjs --target node",
"build:browser": "microbundle build -i src/browser/index.js -o build/browser/index.js --no-compress --no-sourcemap -f umd --target browser --name Karin --external none"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vaheqelyan/karin.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/vaheqelyan/karin/issues"
},
"homepage": "https://github.com/vaheqelyan/karin#readme",
"devDependencies": {
"@koa/cors": "^2.2.3",
"ava": "^1.0.1",
"babel-eslint": "^8.2.6",
"browser-env": "^3.2.5",
"eslint": "^4.19.1",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^1.2.0",
"koa": "^2.6.2",
"koa-body": "^4.0.6",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"microbundle": "^0.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3",
"whatwg-fetch": "^3.0.0"
},
"dependencies": {
"node-fetch": "^2.3.0"
},
"ava": {
"files": [
"test/**/*.js"
],
"verbose": true,
"require": [
"./test/helpers/setup-browser-env.js"
]
}
}