package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "text-segmentation",
  3. "version": "1.0.3",
  4. "description": "",
  5. "main": "dist/text-segmentation.umd.js",
  6. "module": "dist/text-segmentation.es5.js",
  7. "typings": "dist/types/index.d.ts",
  8. "scripts": {
  9. "prebuild": "rimraf dist/",
  10. "build": "tsc --module commonjs && rollup -c rollup.config.ts",
  11. "format": "prettier --write \"{src,scripts}/**/*.ts\"",
  12. "generate-trie": "ts-node scripts/generate_grapheme_break_trie.ts",
  13. "generate-tests": "ts-node scripts/generate_grapheme_break_tests.ts",
  14. "lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts tests/**/*.ts scripts/**/*.ts",
  15. "mocha": "mocha --require ts-node/register tests/*.ts",
  16. "test": "npm run lint && npm run mocha",
  17. "release": "standard-version"
  18. },
  19. "dependencies": {
  20. "utrie": "^1.0.2"
  21. },
  22. "devDependencies": {
  23. "@rollup/plugin-commonjs": "^19.0.0",
  24. "@rollup/plugin-node-resolve": "^13.0.0",
  25. "@rollup/plugin-typescript": "^8.2.1",
  26. "@types/mocha": "^8.2.2",
  27. "@types/node": "^16.0.0",
  28. "mocha": "9.0.2",
  29. "prettier": "^2.3.2",
  30. "rimraf": "3.0.2",
  31. "rollup": "^2.52.7",
  32. "rollup-plugin-json": "^4.0.0",
  33. "rollup-plugin-sourcemaps": "^0.6.3",
  34. "standard-version": "^9.3.0",
  35. "ts-node": "^10.0.0",
  36. "tslib": "^2.3.0",
  37. "tslint": "^6.1.3",
  38. "tslint-config-prettier": "^1.18.0",
  39. "typescript": "^4.3.5"
  40. },
  41. "author": {
  42. "name": "Niklas von Hertzen",
  43. "email": "niklasvh@gmail.com",
  44. "url": "https://hertzen.com"
  45. },
  46. "license": "MIT",
  47. "repository": {
  48. "type": "git",
  49. "url": "git+ssh://git@github.com/niklasvh/text-segmentation.git"
  50. },
  51. "bugs": {
  52. "url": "https://github.com/niklasvh/text-segmentation/issues"
  53. },
  54. "homepage": "https://github.com/niklasvh/text-segmentation"
  55. }