You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.6 KiB
67 lines
1.6 KiB
{ |
|
"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" |
|
} |
|
}
|
|
|