UNPKG

compress-tag

Version:

Template literal tag to remove excess whitespace and newlines from strings.

61 lines (60 loc) 1.83 kB
{ "name": "compress-tag", "version": "3.0.0", "description": "Template literal tag to remove excess whitespace and newlines from strings.", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/iansan5653/compress-tag.git" }, "scripts": { "build": "tsc", "test": "ts-mocha src/**/*.test.ts", "lint": "eslint src/**/*.ts", "check": "npm run build && npm run test && npm run lint", "ensureCleanTree": "echo 'Checking to ensure all changes are committed...' && git diff --quiet --exit-code & git diff --quiet --cached --exit-code", "prepublishOnly": "npm run ensureCleanTree && npm run check", "postpublish": "cross-var git tag -a $npm_package_version -m \"See changelog.md for release notes.\" && git push --tags && cross-var git tag -d $npm_package_version", "format": "prettier src/**/*.ts --write" }, "author": { "name": "Ian Sanders", "url": "https://github.com/iansan5653" }, "license": "MIT", "devDependencies": { "@types/mocha": "^10.0.1", "@types/node": "^20.6.2", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "cross-var": "^1.1.0", "eslint": "^8.49.0", "eslint-config-prettier": "9.0.0", "eslint-plugin-jsdoc": "^46.8.1", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-prettier": "5.0.0", "mocha": "^10.2.0", "mocha-junit-reporter": "^2.2.1", "prettier": "^3.0.3", "ts-mocha": "^10.0.0", "typescript": "^5.2.2" }, "dependencies": { "unraw": "^3.0.0" }, "files": [ "dist/index.d.ts", "dist/index.js" ], "keywords": [ "strings", "code format", "minify", "compress", "template literal", "template literal tag", "es6", "tag" ] }