UNPKG

tty-strings

Version:

Tools for working with strings displayed in the terminal

84 lines (83 loc) 1.85 kB
{ "name": "tty-strings", "version": "1.5.2", "description": "Tools for working with strings displayed in the terminal", "keywords": [ "tty", "terminal", "console", "cli", "ansi", "escape", "string", "unicode", "grapheme", "symbol", "character", "emoji", "width", "wrap", "wordwrap", "slice" ], "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./package.json": "./package.json" }, "files": [ "lib", "src" ], "scripts": { "build": "rimraf lib && tsc -p tsconfig.build.json", "clean": "rimraf lib && rimraf coverage", "test": "tsc --noEmit && jest", "lint": "eslint .", "prepublishOnly": "yarn test && yarn build", "update-browserslist": "browserslist --update-db", "screencasts": "yarn build && node tasks/screencasts.js" }, "engines": { "node": ">=8" }, "publishConfig": { "access": "public" }, "author": "Lucian Cooper <cooperlucian@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/luciancooper/tty-strings.git" }, "commitlint": { "extends": [ "@lcooper" ] }, "lint-staged": { "*.{js,ts}": "eslint" }, "devDependencies": { "@commitlint/cli": "^19.2.1", "@lcooper/commitlint-config": "^2.0.0", "@lcooper/eslint-config-jest": "^2.0.0", "@lcooper/eslint-config-typescript": "^2.0.0", "@types/jest": "^29.5.12", "@types/node": "^20.12.7", "chalk": "^4.1.1", "eslint": "^8.57.0", "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.2", "rimraf": "^5.0.5", "svg-term": "^1.3.1", "svgo": "^2.3.0", "ts-jest": "^29.1.2", "typescript": "^5.4.4" } }