UNPKG

@iterable-iterator/reversed

Version:
222 lines (221 loc) 5.17 kB
{ "name": "@iterable-iterator/reversed", "description": "Iterable reversion for JavaScript", "version": "1.0.0", "license": "AGPL-3.0", "author": "make-github-pseudonymous-again", "homepage": "https://iterable-iterator.github.io/reversed", "repository": { "url": "https://github.com/iterable-iterator/reversed", "type": "git" }, "bugs": { "url": "https://github.com/iterable-iterator/reversed/issues" }, "keywords": [ "iter", "iterable", "iterator", "reverse", "reversed" ], "sideEffects": false, "type": "module", "source": "src/index.js", "main": "dist/index.cjs", "module": "dist/index.module.js", "esmodule": "dist/index.modern.js", "umd:main": "dist/index.umd.js", "unpkg": "dist/index.umd.js", "exports": { ".": { "browser": "./dist/index.module.js", "umd": "./dist/index.umd.js", "require": "./dist/index.cjs", "default": "./dist/index.modern.js" } }, "files": [ "dist" ], "scripts": { "build": "NODE_ENV=production microbundle", "build-docs": "esdoc", "build-gh-pages": "npm run build-docs", "ci:build": "npm run build", "ci:test": "npm run lint-config && npm run lint && npm run cover", "commit-msg": "commitlint --edit", "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test", "debug": "NODE_ENV=debug npm run test -- -st --fail-fast", "dev": "npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast", "install-hooks": "husky install", "lint": "xo", "lint-and-fix": "npm run lint -- --fix", "lint-config": "fixpack --dryRun", "lint-config-and-fix": "fixpack || fixpack", "_postinstall": "npm run install-hooks", "postpublish": "pinst --enable", "precommit": "lint-staged", "prepare": "npm run build", "prepublishOnly": "pinst --disable", "release": "np --message ':hatching_chick: release: Bumping to v%s.'", "test": "ava" }, "dependencies": {}, "devDependencies": { "@babel/core": "7.14.6", "@babel/preset-env": "7.14.7", "@babel/register": "7.14.5", "@commitlint/cli": "12.1.4", "@js-library/commitlint-config": "0.0.4", "ava": "3.15.0", "babel-plugin-transform-remove-console": "6.9.4", "babel-plugin-unassert": "3.1.0", "babel-preset-power-assert": "3.0.0", "c8": "7.7.3", "esdoc": "1.1.0", "esdoc-ecmascript-proposal-plugin": "1.0.0", "esdoc-inject-script-plugin": "1.0.0", "esdoc-inject-style-plugin": "1.0.0", "esdoc-standard-plugin": "1.0.0", "fixpack": "4.0.0", "husky": "7.0.1", "lint-staged": "11.0.1", "microbundle": "0.13.1", "np": "7.5.0", "pinst": "2.1.6", "power-assert": "1.6.1", "regenerator-runtime": "0.13.7", "xo": "0.41.0" }, "ava": { "files": [ "test/src/**/*" ], "require": [ "regenerator-runtime/runtime", "@babel/register" ], "timeout": "1m" }, "babel": { "sourceMaps": true, "presets": [ [ "@babel/preset-env", { "targets": "current node" } ] ], "plugins": [ [ "transform-remove-console", { "exclude": [ "log", "error", "warn" ] } ] ], "env": { "debug": { "presets": [ "babel-preset-power-assert" ], "plugins": [ [ "transform-remove-console", { "exclude": [ "debug", "log", "error", "warn" ] } ] ] }, "test": { "presets": [ "babel-preset-power-assert" ] }, "cover": { "sourceMaps": "both", "presets": [ "babel-preset-power-assert" ] }, "development": { "presets": [ [ "@babel/preset-env", { "targets": [ "defaults", "maintained node versions" ] } ], "babel-preset-power-assert" ] }, "production": { "presets": [ [ "@babel/preset-env", { "targets": [ "defaults", "maintained node versions" ] } ] ], "plugins": [ "babel-plugin-unassert" ] } } }, "lint-staged": { "*.js": [ "npm run lint-and-fix" ], "package.json": [ "npm run lint-config-and-fix" ] }, "prettier": { "trailingComma": "all" }, "xo": { "prettier": true, "plugins": [ "unicorn" ], "rules": { "unicorn/filename-case": [ "error", { "cases": { "camelCase": true, "pascalCase": true } } ] }, "overrides": [ { "files": [ "doc/**" ], "env": "browser" } ] } }