package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "autolinker",
  3. "version": "4.0.0",
  4. "description": "Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML",
  5. "main": "./dist/commonjs/index.js",
  6. "typings": "./dist/commonjs/index.d.ts",
  7. "module": "./dist/es2015/index.js",
  8. "files": [
  9. "dist"
  10. ],
  11. "scripts": {
  12. "build": "npm-run-all clean update-tld-regex build:src build:docs build:live-example",
  13. "build:docs": "ts-node scripts/build-docs.ts",
  14. "build:src": "ts-node scripts/build.ts",
  15. "build:live-example": "webpack",
  16. "clean": "rimraf dist",
  17. "prepublishOnly": "npm-run-all build test",
  18. "start": "webpack serve --open",
  19. "test": "npm-run-all test:unit test:integration",
  20. "test:unit": "node --require=ts-node/register node_modules/jasmine/bin/jasmine.js \"tests/**/*.spec.ts\"",
  21. "test:unit:debug": "node --inspect-brk --require=ts-node/register node_modules/jasmine/bin/jasmine.js \"tests/**/*.spec.ts\"",
  22. "test:integration": "ts-node scripts/test-integration.ts",
  23. "update-tld-regex": "ts-node scripts/update-tld-regex.ts",
  24. "prepare": "husky install"
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git://github.com/gregjacobs/Autolinker.js.git"
  29. },
  30. "keywords": [
  31. "auto",
  32. "link",
  33. "autolink",
  34. "url",
  35. "urls",
  36. "anchor"
  37. ],
  38. "author": "Gregory Jacobs <greg@greg-jacobs.com>",
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/gregjacobs/Autolinker.js/issues"
  42. },
  43. "homepage": "https://github.com/gregjacobs/Autolinker.js",
  44. "dependencies": {
  45. "tslib": "^2.3.0"
  46. },
  47. "devDependencies": {
  48. "@rollup/plugin-commonjs": "^21.0.0",
  49. "@rollup/plugin-node-resolve": "^13.1.3",
  50. "@types/cli-table": "^0.3.0",
  51. "@types/dedent": "^0.7.0",
  52. "@types/fs-extra": "^9.0.13",
  53. "@types/jasmine": "^3.10.3",
  54. "@types/jquery": "^3.5.5",
  55. "@types/lodash": "^4.14.170",
  56. "@types/node": "^16.11.26",
  57. "@types/webpack": "^5.28.0",
  58. "axios": "^0.26.0",
  59. "cli-table": "^0.3.11",
  60. "css-loader": "^6.6.0",
  61. "dedent": "^0.7.0",
  62. "fast-glob": "^3.2.11",
  63. "fs-extra": "^10.0.1",
  64. "html-webpack-plugin": "^5.5.0",
  65. "husky": "^7.0.4",
  66. "jasmine": "^4.0.2",
  67. "jsduck": "^1.1.2",
  68. "lint-staged": "^12.3.4",
  69. "lodash": "^4.17.21",
  70. "mkdirp": "^1.0.4",
  71. "npm": "^8.1.0",
  72. "npm-run-all": "^4.1.5",
  73. "prettier": "2.5.1",
  74. "punycode": "^2.1.1",
  75. "puppeteer": "^13.4.0",
  76. "rimraf": "^3.0.2",
  77. "rollup": "^2.52.2",
  78. "style-loader": "^3.3.1",
  79. "terser": "^5.11.0",
  80. "ts-loader": "^9.2.3",
  81. "ts-node": "^10.5.0",
  82. "typescript": "^4.3.4",
  83. "webpack": "^5.69.1",
  84. "webpack-cli": "^4.9.2",
  85. "webpack-dev-server": "^4.7.4"
  86. }
  87. }