text-clipper
Version:
Fast and correct clip functions for HTML and plain text.
48 lines (47 loc) • 1.22 kB
JSON
{
"name": "text-clipper",
"version": "2.2.0",
"description": "Fast and correct clip functions for HTML and plain text.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint mod.ts src/*.ts tests/*/*.ts",
"prepublish": "yarn build",
"test": "jest"
},
"author": "Speakap B.V.",
"repository": {
"type": "git",
"url": "https://github.com/arendjr/text-clipper.git"
},
"keywords": [
"clip",
"html",
"string",
"text",
"trim",
"truncate"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^25.2.2",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.11.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": "^25.0.0",
"prepush": "^3.1.11",
"prettier": "^2.0.5",
"ts-jest": "^25.5.1",
"typescript": "^3.9.2"
},
"prepush": {
"tasks": [
"yarn lint",
"yarn test"
]
}
}