12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- {
- "name": "unfetch",
- "version": "4.2.0",
- "description": "Bare minimum fetch polyfill in 500 bytes",
- "unpkg": "polyfill/index.js",
- "main": "dist/unfetch.js",
- "module": "dist/unfetch.module.js",
- "jsnext:main": "dist/unfetch.module.js",
- "umd:main": "dist/unfetch.umd.js",
- "scripts": {
- "test": "eslint src test && jest",
- "build": "microbundle src/index.mjs && microbundle -f cjs polyfill/polyfill.mjs -o polyfill/index.js --no-sourcemap && cp dist/unfetch.module.js dist/unfetch.es.js",
- "prepare": "npm run -s build",
- "release": "cross-var npm run build -s && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags && npm publish"
- },
- "repository": "developit/unfetch",
- "keywords": [
- "fetch",
- "polyfill",
- "xhr",
- "ajax"
- ],
- "homepage": "https://github.com/developit/unfetch",
- "authors": [
- "Jason Miller <jason@developit.ca>"
- ],
- "license": "MIT",
- "types": "src/index.d.ts",
- "files": [
- "src",
- "dist",
- "polyfill"
- ],
- "eslintConfig": {
- "extends": "developit"
- },
- "jest": {
- "testURL": "http://localhost/",
- "testMatch": [
- "<rootDir>/test/**/*.?(m)js?(x)"
- ],
- "moduleFileExtensions": [
- "mjs",
- "js"
- ],
- "transform": {
- "^.+\\.m?jsx?$": "babel-jest"
- }
- },
- "babel": {
- "env": {
- "test": {
- "presets": [
- "env"
- ]
- }
- }
- },
- "devDependencies": {
- "babel-preset-env": "^1.7.0",
- "cross-var": "^1.1.0",
- "eslint": "^3.13.1",
- "eslint-config-developit": "^1.1.1",
- "jest": "^23.6.0",
- "microbundle": "^0.10.1"
- }
- }
|