1 | {
|
2 | "name": "snekfetch",
|
3 | "version": "4.0.0",
|
4 | "main": "src/index",
|
5 | "module": "src/index.mjs",
|
6 | "unpkg": "browser.js",
|
7 | "jsdelivr": "browser.js",
|
8 | "scripts": {
|
9 | "setup": "install-peerdeps --dev eslint-config-airbnb",
|
10 | "lint": "eslint --ext=mjs,js src test sync.js webpack.config.js",
|
11 | "test": "node ./node_modules/.bin/jest",
|
12 | "coverage": "cat ./coverage/lcov.info | coveralls",
|
13 | "docs": "node docs.js",
|
14 | "build:browser": "webpack",
|
15 | "prepublishOnly": "npm run lint && npm run test && npm run build:browser"
|
16 | },
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "git+https://github.com/devsnek/snekfetch.git",
|
20 | "homepage": "https://github.com/devsnek/snekfetch"
|
21 | },
|
22 | "author": "Gus Caplan <me@gus.host>",
|
23 | "license": "MIT",
|
24 | "bugs": {
|
25 | "url": "https://github.com/devsnek/snekfetch/issues"
|
26 | },
|
27 | "homepage": "https://snekfetch.js.org/",
|
28 | "dependencies": {},
|
29 | "devDependencies": {
|
30 | "@snek/syncify": "0.0.6",
|
31 | "babel-eslint": "^8.2.2",
|
32 | "coveralls": "^3.0.0",
|
33 | "docma": "^1.5.1",
|
34 | "eslint": "^4.19.1",
|
35 | "eslint-config-airbnb": "^16.1.0",
|
36 | "eslint-plugin-import": "^2.10.0",
|
37 | "eslint-plugin-jsx-a11y": "^6.0.3",
|
38 | "eslint-plugin-react": "^7.7.0",
|
39 | "form-data": "^2.3.2",
|
40 | "install-peerdeps": "^1.6.0",
|
41 | "jest": "^21.2.1",
|
42 | "jsdoc-dynamic": "^1.0.4",
|
43 | "json-filter-loader": "^1.0.0",
|
44 | "node-fetch": "^2.1.2",
|
45 | "uglifyjs-webpack-plugin": "^1.2.4",
|
46 | "webpack": "^3.8.1"
|
47 | },
|
48 | "description": "Just do http requests without all that weird nastiness from other libs",
|
49 | "browser": {
|
50 | "./src/node/index.js": false,
|
51 | "./src/meta.js": false
|
52 | },
|
53 | "jest": {
|
54 | "collectCoverage": true,
|
55 | "collectCoverageFrom": [
|
56 | "src/**/*.js",
|
57 | "!src/node/mimeOfBuffer.js",
|
58 | "!src/node/transports/http2.js"
|
59 | ],
|
60 | "verbose": true
|
61 | }
|
62 | }
|