UNPKG

2.02 kBJSONView Raw
1{
2 "name": "flighty",
3 "version": "1.0.6",
4 "description": "Fetch wrapper. Polyfills optional. Aborts, retries, intercepts all in 5kb",
5 "main": "dist/flighty.js",
6 "module": "src/flighty.js",
7 "browser": "dist/flighty.browser.min.js",
8 "react-native": "dist/flighty.abort.js",
9 "scripts": {
10 "test": "jest",
11 "test:coverage": "npm run test && codecov",
12 "build": "rimraf dist && rollup -c",
13 "lint": "eslint ./src ",
14 "lint:fix": "eslint ./src --fix",
15 "prepublishOnly": "npm run test && npm run build"
16 },
17 "keywords": [
18 "fetch",
19 "ajax",
20 "react",
21 "react-native",
22 "frisbee",
23 "axios",
24 "xhr",
25 "fetch-api",
26 "upload",
27 "request",
28 "http",
29 "intercept",
30 "abort",
31 "jwt"
32 ],
33 "repository": {
34 "type": "git",
35 "url": "https://github.com/akmjenkins/flighty.git"
36 },
37 "license": "MIT",
38 "bugs": {
39 "url": "https://github.com/akmjenkins/flighty/issues"
40 },
41 "author": "Adam Jenkins",
42 "husky": {
43 "hooks": {
44 "pre-commit": "npm run prepublishOnly && lint-staged"
45 }
46 },
47 "lint-staged": {
48 "*.js": [
49 "eslint --fix",
50 "git add"
51 ]
52 },
53 "dependencies": {
54 "abortcontroller-polyfill": "^1.2.5",
55 "cross-fetch": "^3.0.1",
56 "promise-polyfill": "^8.1.0",
57 "qs": "^6.6.0",
58 "url-join": "^4.0.0"
59 },
60 "devDependencies": {
61 "@babel/core": "^7.3.3",
62 "@babel/preset-env": "^7.3.1",
63 "babel-jest": "^24.1.0",
64 "codecov": "^3.2.0",
65 "eslint": "^5.14.1",
66 "eslint-config-airbnb-base": "^13.1.0",
67 "eslint-plugin-import": "^2.16.0",
68 "husky": "^1.3.1",
69 "jest": "^24.1.0",
70 "jest-fetch-mock": "^2.1.1",
71 "lint-staged": "^8.1.4",
72 "rimraf": "^2.6.3",
73 "rollup": "^1.2.1",
74 "rollup-plugin-babel": "^4.3.2",
75 "rollup-plugin-babel-minify": "^7.0.0",
76 "rollup-plugin-commonjs": "^9.2.0",
77 "rollup-plugin-inject": "^2.2.0",
78 "rollup-plugin-node-builtins": "^2.1.2",
79 "rollup-plugin-node-resolve": "^4.0.0",
80 "rollup-plugin-polyfill": "^2.0.1"
81 }
82}