UNPKG

@ungap/is-array

Version:

An is-array polyfill for legacy browsers.

44 lines (43 loc) 1.33 kB
{ "name": "@ungap/is-array", "version": "0.2.0", "description": "An is-array polyfill for legacy browsers.", "main": "./cjs/index.js", "module": "./esm/index.js", "unpkg": "min.js", "scripts": { "build": "npm run cjs && npm run esm && npm run min && npm run test && npm run size", "cjs": "cp index.js cjs/ && echo 'module.exports = isArray;' >> cjs/index.js", "esm": "cp index.js esm/ && echo 'export default isArray;' >> esm/index.js", "min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js", "size": "cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c", "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node test/index.js" }, "keywords": [ "isArray", "polyfill", "legacy", "ungap" ], "author": "Andrea Giammarchi", "license": "ISC", "devDependencies": { "coveralls": "^3.1.0", "nyc": "^15.0.1", "uglify-js": "^3.9.1" }, "repository": { "type": "git", "url": "git+https://github.com/ungap/is-array.git" }, "bugs": { "url": "https://github.com/ungap/is-array/issues" }, "homepage": "https://github.com/ungap/is-array#readme", "type": "module", "exports": { "import": "./esm/index.js", "default": "./cjs/index.js" } }