Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67 lines (67 sloc)
1.63 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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" | |
| } | |
| } |