UNPKG

autolinker

Version:

Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML

91 lines (90 loc) 3.19 kB
{ "name": "autolinker", "version": "4.1.0", "description": "Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML", "main": "./dist/commonjs/index.js", "typings": "./dist/commonjs/index.d.ts", "module": "./dist/es2015/index.js", "files": [ "dist" ], "scripts": { "build": "npm-run-all clean update-tld-regex build:src", "build:docs": "npm-run-all build:docs-site build:live-example", "build:docs-site": "ts-node scripts/build-docs.ts", "build:src": "ts-node scripts/build.ts", "build:live-example": "webpack", "clean": "rimraf dist", "devserver": "webpack-dev-server", "prepublishOnly": "npm-run-all build test", "start": "webpack serve --open", "test": "npm-run-all test:unit test:integration", "test:unit": "node --require=ts-node/register node_modules/jasmine/bin/jasmine.js \"tests/**/*.spec.ts\"", "test:unit:debug": "node --inspect-brk --require=ts-node/register node_modules/jasmine/bin/jasmine.js \"tests/**/*.spec.ts\"", "test:integration": "ts-node scripts/test-integration.ts", "update-tld-regex": "ts-node scripts/update-tld-regex.ts", "prepare": "husky install" }, "repository": { "type": "git", "url": "git://github.com/gregjacobs/Autolinker.js.git" }, "keywords": [ "auto", "link", "autolink", "url", "urls", "anchor" ], "author": "Gregory Jacobs <greg@greg-jacobs.com>", "license": "MIT", "bugs": { "url": "https://github.com/gregjacobs/Autolinker.js/issues" }, "homepage": "https://github.com/gregjacobs/Autolinker.js", "dependencies": { "tslib": "^2.8.1" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.2", "@types/cli-table": "^0.3.4", "@types/dedent": "^0.7.2", "@types/fs-extra": "^11.0.4", "@types/jasmine": "^5.1.5", "@types/jquery": "^3.5.32", "@types/lodash": "^4.17.13", "@types/node": "^22.10.2", "@types/webpack": "^5.28.5", "axios": "^1.7.9", "cli-table": "^0.3.11", "css-loader": "^7.1.2", "dedent": "^1.5.3", "fast-glob": "^3.3.2", "fs-extra": "^11.2.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", "jasmine": "^5.5.0", "jsduck": "^1.1.2", "lint-staged": "^15.2.11", "lodash": "^4.17.21", "mkdirp": "^3.0.1", "npm": "^11.0.0", "npm-run-all": "^4.1.5", "prettier": "3.4.2", "punycode": "^2.3.1", "puppeteer": "^23.11.1", "rimraf": "^6.0.1", "rollup": "^4.29.1", "style-loader": "^4.0.0", "terser": "^5.37.0", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.7.2", "webpack": "^5.97.1", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.0" } }