autolinker
Version:
Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML
110 lines (109 loc) • 3.93 kB
JSON
{
"name": "autolinker",
"version": "4.1.5",
"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": {
"benchmarks": "ts-node benchmarks/benchmarks.ts",
"build": "npm-run-all clean update-known-tlds generate-char-utils 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",
"coverage": "nyc npm run test:unit -- --forbid-only",
"devserver": "webpack-dev-server",
"generate-char-utils": "ts-node scripts/generate-char-utils.ts",
"lint": "eslint src tests scripts",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm-run-all build test",
"profile": "node --inspect --require ts-node/register benchmarks/profile.ts",
"start": "webpack serve --open",
"test": "npm-run-all test:unit test:integration",
"test:ci": "npm-run-all coverage test:integration",
"test:unit": "mocha --require=ts-node/register \"tests/**/*.spec.ts\"",
"test:unit:debug": "mocha --inspect-brk --require=ts-node/register \"tests/**/*.spec.ts\"",
"test:integration": "ts-node scripts/test-integration.ts",
"update-known-tlds": "ts-node scripts/update-known-tlds.ts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git://github.com/gregjacobs/Autolinker.js.git"
},
"engines": {
"pnpm": ">=10.10.0"
},
"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": {
"@eslint/js": "^9.25.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chai": "^5.2.1",
"@types/cli-table": "^0.3.4",
"@types/dedent": "^0.7.2",
"@types/fs-extra": "^11.0.4",
"@types/jquery": "^3.5.32",
"@types/lodash": "^4.17.13",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"@types/sinon": "^17.0.4",
"@types/webpack": "^5.28.5",
"axios": "^1.7.9",
"chai": "^5.2.0",
"cli-table": "^0.3.11",
"css-loader": "^7.1.2",
"dedent": "^1.5.3",
"eslint": "^9.25.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^9.1.7",
"jsduck": "^1.1.2",
"lint-staged": "^15.2.11",
"lodash": "^4.17.21",
"mkdirp": "^3.0.1",
"mocha": "^11.1.0",
"npm": "^11.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^17.1.0",
"prettier": "3.4.2",
"punycode": "^2.3.1",
"puppeteer": "^24.7.2",
"rimraf": "^6.0.1",
"rollup": "^4.29.1",
"sinon": "^20.0.0",
"style-loader": "^4.0.0",
"terser": "^5.37.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.0",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0"
}
}