-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
72 lines (72 loc) · 2.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "karin",
"version": "0.13.1",
"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": "^2.0.4"
},
"dependencies": {
"node-fetch": "^2.3.0"
},
"ava": {
"files": [
"test/**/*.js"
],
"verbose": true,
"require": [
"./test/helpers/setup-browser-env.js"
]
}
}