package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "fuse.js",
  3. "author": {
  4. "name": "Kiro Risk",
  5. "email": "kirollos@gmail.com",
  6. "url": "http://kiro.me"
  7. },
  8. "main": "./dist/fuse.common.js",
  9. "module": "./dist/fuse.esm.js",
  10. "unpkg": "./dist/fuse.js",
  11. "jsdelivr": "./dist/fuse.js",
  12. "typings": "./dist/fuse.d.ts",
  13. "sideEffects": false,
  14. "files": [
  15. "dist"
  16. ],
  17. "version": "6.6.2",
  18. "description": "Lightweight fuzzy-search",
  19. "license": "Apache-2.0",
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/krisk/Fuse.git"
  23. },
  24. "homepage": "http://fusejs.io",
  25. "keywords": [
  26. "fuzzy",
  27. "search",
  28. "bitap"
  29. ],
  30. "scripts": {
  31. "dev": "rollup -w -c scripts/configs.js --environment TARGET:umd-dev-full",
  32. "dev:cjs": "rollup -w -c scripts/configs.js --environment TARGET:commonjs-full",
  33. "dev:esm": "rollup -w -c scripts/configs.js --environment TARGET:esm-dev-full",
  34. "build": "rm -r dist && mkdir dist && node ./scripts/build.main.js",
  35. "test": "jest",
  36. "lint": "eslint src scripts test",
  37. "release": "./scripts/release.sh",
  38. "docs:bump": "node ./scripts/bump-docs.js",
  39. "docs:dev": "vuepress dev docs",
  40. "docs:build": "vuepress build docs",
  41. "docs:release": "./scripts/deploy-docs.sh",
  42. "prepare": "husky install"
  43. },
  44. "standard-version": {
  45. "scripts": {
  46. "postbump": "yarn build && yarn lint && yarn test 2>/dev/null",
  47. "precommit": "git add dist/*.js dist/*.ts"
  48. }
  49. },
  50. "husky": {
  51. "hooks": {
  52. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  53. }
  54. },
  55. "commitlint": {
  56. "extends": [
  57. "@commitlint/config-conventional"
  58. ]
  59. },
  60. "devDependencies": {
  61. "@babel/cli": "^7.2.3",
  62. "@babel/core": "^7.3.4",
  63. "@babel/eslint-parser": "^7.16.3",
  64. "@babel/plugin-proposal-object-rest-spread": "7.16.0",
  65. "@babel/preset-env": "7.16.0",
  66. "@babel/preset-typescript": "7.16.0",
  67. "@commitlint/cli": "^14.1.0",
  68. "@commitlint/config-conventional": "^14.1.0",
  69. "@rollup/plugin-babel": "^5.3.0",
  70. "@rollup/plugin-node-resolve": "^13.0.6",
  71. "@rollup/plugin-replace": "^3.0.0",
  72. "@types/jest": "27.0.2",
  73. "@vuepress/plugin-google-analytics": "^1.4.0",
  74. "@vuepress/plugin-register-components": "^1.5.2",
  75. "babel-loader": "^8.0.5",
  76. "codemirror": "5.63.3",
  77. "eslint": "8.2.0",
  78. "eslint-config-prettier": "8.3.0",
  79. "eslint-plugin-vue": "8.0.3",
  80. "faker": "5.5.3",
  81. "husky": "^7.0.0",
  82. "jest": "^27.3.1",
  83. "prettier": "2.4.1",
  84. "replace-in-file": "^6.1.0",
  85. "rimraf": "3.0.2",
  86. "rollup": "^2.61.1",
  87. "rollup-plugin-copy": "3.4.0",
  88. "standard-version": "^9.3.2",
  89. "terser-webpack-plugin": "5.2.5",
  90. "typescript": "^4.4.4",
  91. "vue-codemirror": "^4.0.6",
  92. "vue-eslint-parser": "^8.0.1",
  93. "vuepress": "^1.4.0",
  94. "vuepress-plugin-element-tabs": "^0.2.8",
  95. "vuepress-plugin-google-adsense": "^0.2.1",
  96. "vuepress-plugin-smooth-scroll": "^0.0.10",
  97. "vuepress-plugin-social-share": "^1.1.0",
  98. "webpack": "4.46.0",
  99. "webpack-cli": "^4.9.1"
  100. },
  101. "engines": {
  102. "node": ">=10"
  103. }
  104. }