UNPKG

@comparison-sorting/specification

Version:
226 lines (225 loc) 5.52 kB
{ "name": "@comparison-sorting/specification", "description": "Comparison sorting specification for JavaScript", "version": "9.0.0", "license": "AGPL-3.0", "author": "make-github-pseudonymous-again", "homepage": "https://comparison-sorting.github.io/specification", "repository": { "url": "https://github.com/comparison-sorting/specification", "type": "git" }, "bugs": { "url": "https://github.com/comparison-sorting/specification/issues" }, "keywords": [ "comparison", "javascript", "js", "sorting", "specification" ], "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": { "@array-like/copy": "^0.0.1", "@comparison-sorting/is-sorted": "^0.0.1", "@functional-abstraction/functools": "^3.0.2", "@iterable-iterator/chain": "^2.0.1", "@iterable-iterator/consume": "^1.0.1", "@iterable-iterator/list": "^1.0.1", "@iterable-iterator/map": "^1.0.1", "@iterable-iterator/range": "^2.1.0", "@iterable-iterator/sorted": "^1.0.0", "@randomized/random": "^4.0.0", "@set-theory/cartesian-product": "^2.0.2", "@total-order/primitive": "^1.0.1" }, "devDependencies": { "@babel/core": "7.16.5", "@babel/preset-env": "7.16.5", "@babel/register": "7.16.5", "@commitlint/cli": "15.0.0", "@js-library/commitlint-config": "0.0.4", "ava": "3.15.0", "babel-plugin-transform-remove-console": "6.9.4", "babel-plugin-unassert": "3.2.0", "babel-preset-power-assert": "3.0.0", "c8": "7.10.0", "esdoc": "1.1.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.4", "lint-staged": "12.1.3", "microbundle": "0.14.2", "np": "7.6.0", "pinst": "2.1.6", "power-assert": "1.6.1", "regenerator-runtime": "0.13.9", "xo": "0.47.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, "ignore": [ "lib" ], "plugins": [ "unicorn" ], "overrides": [ { "files": [ "doc/**" ], "env": "browser" } ] } }