kelvinnnotkevinn-match-sorter
Version:
Simple, expected, and deterministic best-match sorting of an array in JavaScript
73 lines (72 loc) • 1.84 kB
JSON
{
"name": "kelvinnnotkevinn-match-sorter",
"author": "Kwa Khai Mun <kwakhaimun@1utar.my>",
"contributors": [
{
"name": "Kent C. Dodds",
"email": "me@kentcdodds.com"
}
],
"version": "0.0.0-semantically-released",
"description": "Simple, expected, and deterministic best-match sorting of an array in JavaScript",
"main": "dist/match-sorter.cjs.js",
"module": "dist/match-sorter.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "kcd-scripts build --bundle --environment BUILD_NAME:matchSorter",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"typecheck": "kcd-scripts typecheck",
"test:update": "npm test -- --updateSnapshot --coverage",
"validate": "kcd-scripts validate"
},
"files": [
"dist"
],
"keywords": [
"autocomplete",
"filter list",
"sort",
"advanced sort",
"user intuitive sort"
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.8",
"remove-accents": "0.5.0"
},
"devDependencies": {
"@types/jest": "^26.0.15",
"kcd-scripts": "^15",
"typescript": "^5.3"
},
"eslintConfig": {
"extends": [
"./node_modules/kcd-scripts/eslint.js"
],
"rules": {
"prefer-object-has-own": "off"
}
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/KelvinnNotKevinn/match-sorter.git"
},
"bugs": {
"url": "https://github.com/KelvinnNotKevinn/match-sorter/issues"
},
"homepage": "https://github.com/KelvinnNotKevinn/match-sorter#readme",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/match-sorter.cjs.js",
"import": "./dist/match-sorter.esm.js"
}
}
}