Using the Fuse package, we now support fuzzy icon search. Results are weighted in favor of icon names and sorted by match score, improving search utility by surfacing best matches to the top of the list. There is still some fine-tuning to do, as threshold often matches unrelated strings, while missing more related but less-similar string queries. In future, we should play with the threshold, location, distance, and possibly the extendedSearch options.
77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
{
|
|
"name": "phosphor-web",
|
|
"version": "0.1.2",
|
|
"license": "GPL-3.0",
|
|
"homepage": "https://phosphor-icons.github.io/phosphor-web",
|
|
"author": {
|
|
"name": "Tobias Fried",
|
|
"email": "friedtm@gmail.com",
|
|
"url": "https://tobiasfried.com"
|
|
},
|
|
"description": "A flexible icon family for interfaces, diagrams, presentations — whatever, really.",
|
|
"keywords": [
|
|
"phosphor",
|
|
"icons",
|
|
"svg",
|
|
"design",
|
|
"interface",
|
|
"UI",
|
|
"UX"
|
|
],
|
|
"repository": "github:phosphor-icons/phosphor-web",
|
|
"private": false,
|
|
"dependencies": {
|
|
"file-saver": "^2.0.2",
|
|
"framer-motion": "^2.1.0",
|
|
"fuse.js": "^6.4.1",
|
|
"phosphor-react": "^0.2.2",
|
|
"react": "^17.0.0-rc.0",
|
|
"react-dom": "^17.0.0-rc.0",
|
|
"react-dropdown-select": "^4.4.2",
|
|
"react-scripts": "3.4.1",
|
|
"react-use": "^15.3.2",
|
|
"recoil": "^0.0.10",
|
|
"tinycolor2": "^1.4.1"
|
|
},
|
|
"scripts": {
|
|
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"predeploy": "npm run build",
|
|
"deploy": "gh-pages -d build",
|
|
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,vue}\""
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.3.2",
|
|
"@testing-library/user-event": "^7.1.2",
|
|
"@types/file-saver": "^2.0.1",
|
|
"@types/jest": "^24.0.0",
|
|
"@types/node": "^12.0.0",
|
|
"@types/react": "^16.9.46",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-list": "^0.8.5",
|
|
"@types/react-virtualized": "^9.21.10",
|
|
"@types/tinycolor2": "^1.4.2",
|
|
"gh-pages": "^3.1.0",
|
|
"typescript": "^3.9.6"
|
|
}
|
|
}
|