UNPKG

array-flat-polyfill

Version:

A polyfill for Array.prototype.flat and Array.prototype.flatMap

59 lines (58 loc) 1.51 kB
{ "name": "array-flat-polyfill", "version": "1.0.1", "description": "A polyfill for Array.prototype.flat and Array.prototype.flatMap", "author": "Jonathan Neal <jonathantneal@hotmail.com>", "license": "CC0-1.0", "repository": "jonathantneal/array-flat-polyfill", "homepage": "https://github.com/jonathantneal/array-flat-polyfill#readme", "bugs": "https://github.com/jonathantneal/array-flat-polyfill/issues", "main": "index.js", "module": "index.mjs", "files": [ "index.js", "index.mjs" ], "scripts": { "build": "rollup --config --silent", "postbuild": "gzip-size index.js", "prepublishOnly": "npm run test && npm run build", "test": "npm run test:lint && npm run test:tape", "test:lint": "eslint src/*.js --cache --ignore-path .gitignore --quiet", "test:tape": "jest" }, "engines": { "node": ">=6.0.0" }, "devDependencies": { "@babel/core": "^7.4.3", "@babel/preset-env": "^7.4.3", "babel-eslint": "^10.0.1", "babel-jest": "^24.7.1", "eslint": "^5.16.0", "eslint-config-dev": "^2.0.0", "gzip-size-cli": "^3.0.0", "jest": "^24.7.1", "rollup": "^1.10.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-terser": "^4.0.4" }, "eslintConfig": { "extends": "dev", "parser": "babel-eslint", "rules": { "no-unused-vars": [ 0 ] } }, "keywords": [ "javascript", "js", "flat", "flatMap", "concat", "flatten" ], "dependencies": {} }