package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "_from": "text-segmentation@^1.0.3",
  3. "_id": "text-segmentation@1.0.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",
  6. "_location": "/text-segmentation",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "text-segmentation@^1.0.3",
  12. "name": "text-segmentation",
  13. "escapedName": "text-segmentation",
  14. "rawSpec": "^1.0.3",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.3"
  17. },
  18. "_requiredBy": [
  19. "/html2canvas"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/text-segmentation/-/text-segmentation-1.0.3.tgz",
  22. "_shasum": "52a388159efffe746b24a63ba311b6ac9f2d7943",
  23. "_spec": "text-segmentation@^1.0.3",
  24. "_where": "D:\\代码\\亿象APP\\yixiang\\node_modules\\html2canvas",
  25. "author": {
  26. "name": "Niklas von Hertzen",
  27. "email": "niklasvh@gmail.com",
  28. "url": "https://hertzen.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/niklasvh/text-segmentation/issues"
  32. },
  33. "bundleDependencies": false,
  34. "dependencies": {
  35. "utrie": "^1.0.2"
  36. },
  37. "deprecated": false,
  38. "description": "text-segmentation ==============",
  39. "devDependencies": {
  40. "@rollup/plugin-commonjs": "^19.0.0",
  41. "@rollup/plugin-node-resolve": "^13.0.0",
  42. "@rollup/plugin-typescript": "^8.2.1",
  43. "@types/mocha": "^8.2.2",
  44. "@types/node": "^16.0.0",
  45. "mocha": "9.0.2",
  46. "prettier": "^2.3.2",
  47. "rimraf": "3.0.2",
  48. "rollup": "^2.52.7",
  49. "rollup-plugin-json": "^4.0.0",
  50. "rollup-plugin-sourcemaps": "^0.6.3",
  51. "standard-version": "^9.3.0",
  52. "ts-node": "^10.0.0",
  53. "tslib": "^2.3.0",
  54. "tslint": "^6.1.3",
  55. "tslint-config-prettier": "^1.18.0",
  56. "typescript": "^4.3.5"
  57. },
  58. "homepage": "https://github.com/niklasvh/text-segmentation",
  59. "license": "MIT",
  60. "main": "dist/text-segmentation.umd.js",
  61. "module": "dist/text-segmentation.es5.js",
  62. "name": "text-segmentation",
  63. "repository": {
  64. "type": "git",
  65. "url": "git+ssh://git@github.com/niklasvh/text-segmentation.git"
  66. },
  67. "scripts": {
  68. "build": "tsc --module commonjs && rollup -c rollup.config.ts",
  69. "format": "prettier --write \"{src,scripts}/**/*.ts\"",
  70. "generate-tests": "ts-node scripts/generate_grapheme_break_tests.ts",
  71. "generate-trie": "ts-node scripts/generate_grapheme_break_trie.ts",
  72. "lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts tests/**/*.ts scripts/**/*.ts",
  73. "mocha": "mocha --require ts-node/register tests/*.ts",
  74. "prebuild": "rimraf dist/",
  75. "release": "standard-version",
  76. "test": "npm run lint && npm run mocha"
  77. },
  78. "typings": "dist/types/index.d.ts",
  79. "version": "1.0.3"
  80. }