package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. "files": [
  14. "dist"
  15. ],
  16. "version": "6.4.3",
  17. "description": "Lightweight fuzzy-search",
  18. "license": "Apache-2.0",
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/krisk/Fuse.git"
  22. },
  23. "homepage": "http://fusejs.io",
  24. "keywords": [
  25. "fuzzy",
  26. "search",
  27. "bitap"
  28. ],
  29. "scripts": {
  30. "dev": "rollup -w -c scripts/configs.js --environment TARGET:umd-dev-full",
  31. "dev:cjs": "rollup -w -c scripts/configs.js --environment TARGET:commonjs-full",
  32. "dev:esm": "rollup -w -c scripts/configs.js --environment TARGET:esm-dev-full",
  33. "build": "rm -r dist && mkdir dist && node ./scripts/build.main.js",
  34. "test": "jest",
  35. "lint": "eslint src scripts test",
  36. "release": "standard-version -a",
  37. "docs:bump": "node ./scripts/bump-docs.js",
  38. "docs:dev": "vuepress dev docs",
  39. "docs:build": "vuepress build docs",
  40. "docs:release": "./scripts/deploy-docs.sh"
  41. },
  42. "standard-version": {
  43. "scripts": {
  44. "postbump": "yarn build && yarn lint && yarn test 2>/dev/null",
  45. "precommit": "git add dist/*.js dist/*.ts"
  46. }
  47. },
  48. "husky": {
  49. "hooks": {
  50. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  51. }
  52. },
  53. "commitlint": {
  54. "extends": [
  55. "@commitlint/config-conventional"
  56. ]
  57. },
  58. "devDependencies": {
  59. "@babel/cli": "^7.2.3",
  60. "@babel/core": "^7.3.4",
  61. "@babel/plugin-proposal-object-rest-spread": "7.9.0",
  62. "@babel/preset-env": "7.3.4",
  63. "@babel/preset-typescript": "7.9.0",
  64. "@commitlint/cli": "^9.0.1",
  65. "@commitlint/config-conventional": "^9.0.1",
  66. "@rollup/plugin-node-resolve": "^7.1.1",
  67. "@rollup/plugin-replace": "^2.3.1",
  68. "@types/jest": "25.1.4",
  69. "@vuepress/plugin-google-analytics": "^1.4.0",
  70. "@vuepress/plugin-register-components": "^1.5.2",
  71. "babel-eslint": "^10.1.0",
  72. "babel-loader": "^8.0.5",
  73. "codemirror": "5.52.2",
  74. "eslint": "6.8.0",
  75. "eslint-config-prettier": "6.10.1",
  76. "eslint-plugin-vue": "7.0.0-alpha.0",
  77. "faker": "4.1.0",
  78. "husky": "^4.2.5",
  79. "jest": "^25.1.0",
  80. "prettier": "2.0.2",
  81. "replace-in-file": "^6.1.0",
  82. "rimraf": "3.0.2",
  83. "rollup": "2.1.0",
  84. "rollup-plugin-babel": "^4.4.0",
  85. "rollup-plugin-copy": "3.3.0",
  86. "standard-version": "^8.0.0",
  87. "terser-webpack-plugin": "2.3.5",
  88. "typescript": "^3.8.3",
  89. "vue-codemirror": "^4.0.6",
  90. "vue-eslint-parser": "^7.0.0",
  91. "vuepress": "^1.4.0",
  92. "vuepress-plugin-element-tabs": "^0.2.8",
  93. "vuepress-plugin-smooth-scroll": "^0.0.9",
  94. "vuepress-plugin-social-share": "^0.2.1",
  95. "webpack": "^4.42.0",
  96. "webpack-cli": "^3.3.11"
  97. },
  98. "engines": {
  99. "node": ">=10"
  100. },
  101. "dependencies": {}
  102. }