UNPKG

ts-comment-remover

Version:

TypeScript file compression tool that removes comments and unnecessary whitespace using AST

83 lines (82 loc) 1.88 kB
{ "name": "ts-comment-remover", "version": "1.0.0", "private": false, "description": "TypeScript file compression tool that removes comments and unnecessary whitespace using AST", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./types": { "types": "./dist/types.d.ts", "import": "./dist/types.js" }, "./utils": { "types": "./dist/utils.d.ts", "import": "./dist/utils.js" }, "./compressor": { "types": "./dist/compressor.d.ts", "import": "./dist/compressor.js" } }, "bin": { "ts-compress": "./bin/ts-compress" }, "scripts": { "build": "tsc", "build:watch": "tsc --watch", "dev": "tsx src/cli.ts", "start": "node dist/cli.js", "clean": "rm -rf dist", "prepare": "npm run clean && npm run build", "test": "echo \"No tests yet\"", "prepublishOnly": "npm run build" }, "keywords": [ "typescript", "comment-remover", "compression", "minify", "ast", "cli", "tool", "comment-removal", "code-compression", "typescript-tool", "whitespace-removal" ], "author": "TUCCHI1 <yasuhiro.dokizono@gmail.com>", "license": "MIT", "homepage": "https://github.com/TUCCHI1/ts-compress-tool#readme", "repository": { "type": "git", "url": "git+https://github.com/TUCCHI1/ts-compress-tool.git" }, "bugs": { "url": "https://github.com/TUCCHI1/ts-compress-tool/issues" }, "dependencies": { "chalk": "^5.3.0", "commander": "^12.1.0", "ora": "^8.1.0" }, "devDependencies": { "@types/node": "^22.5.0", "tsx": "^4.19.0", "typescript": "^5.7.0" }, "engines": { "node": ">=22.0.0" }, "files": [ "dist", "bin", "README.md", "LICENSE" ] }