UNPKG

clamp.ts

Version:

TypeScript fork of clamp.js - Clamps an HTML element by adding ellipsis to it if the content inside is too long.

49 lines (48 loc) 1.21 kB
{ "name": "clamp.ts", "version": "1.1.1", "description": "TypeScript fork of clamp.js - Clamps an HTML element by adding ellipsis to it if the content inside is too long.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc" }, "repository": { "type": "git", "url": "git+https://github.com/aamir1995/clamp.ts.git" }, "keywords": [ "clamp.js", "clamp", "clampjs", "clamp.ts", "text-clamp", "html-clamp" ], "author": "Aamir Shah", "license": "ISC", "bugs": { "url": "https://github.com/aamir1995/clamp.ts/issues" }, "homepage": "https://github.com/aamir1995/clamp.ts#readme", "devDependencies": { "@semantic-release/changelog": "^6.0.1", "@semantic-release/git": "^10.0.1", "semantic-release": "^19.0.2", "typescript": "^4.5.5" }, "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/github", "@semantic-release/npm", "@semantic-release/git" ] } }