UNPKG

@fe-fast/code-sweeper

Version:

A lightweight JavaScript/TypeScript code cleaning tool

100 lines (99 loc) 2.79 kB
{ "name": "@fe-fast/code-sweeper", "version": "1.0.1", "description": "A lightweight JavaScript/TypeScript code cleaning tool", "type": "module", "keywords": [ "typescript", "javascript", "code-cleanup", "ast", "linter", "unused-code", "code-analysis", "webpack-plugin", "vite-plugin", "rollup-plugin" ], "author": "fe-fast", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/william-xue/code-sweeper.git" }, "homepage": "https://github.com/william-xue/code-sweeper#readme", "bugs": { "url": "https://github.com/william-xue/code-sweeper/issues" }, "bin": { "code-sweeper": "./dist/cli.js", "cs": "./dist/cli.js" }, "main": "./dist/index.js", "exports": { ".": "./dist/index.js", "./webpack": "./dist/plugins/webpack.js", "./vite": "./dist/plugins/vite.js", "./rollup": "./dist/plugins/rollup.js" }, "scripts": { "dev": "vite", "build": "npm run build:cli && npm run build:plugins && vite build", "build:cli": "tsc -p tsconfig.cli.json", "build:plugins": "tsc -p tsconfig.plugins.json", "lint": "eslint .", "preview": "vite preview", "check": "tsc --noEmit", "test": "vitest", "prepublishOnly": "npm run build:cli && npm run build:plugins" }, "dependencies": { "@babel/generator": "^7.23.0", "@babel/parser": "^7.23.0", "@babel/traverse": "^7.23.0", "@babel/types": "^7.23.0", "@typescript-eslint/parser": "^8.0.0", "@vue/compiler-sfc": "^3.5.18", "chalk": "^5.3.0", "clsx": "^2.1.1", "commander": "^11.1.0", "fast-glob": "^3.3.2", "fs-extra": "^11.2.0", "inquirer": "^9.2.12", "lucide-react": "^0.511.0", "ora": "^7.0.1", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^7.3.0", "sonner": "^2.0.2", "tailwind-merge": "^3.0.2", "yaml": "^2.3.4", "zustand": "^5.0.3" }, "devDependencies": { "@eslint/js": "^9.25.0", "@types/babel__generator": "^7.27.0", "@types/babel__traverse": "^7.20.4", "@types/fs-extra": "^11.0.4", "@types/inquirer": "^9.0.7", "@types/node": "^22.15.30", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/webpack": "^5.28.5", "@vitejs/plugin-react": "^4.4.1", "autoprefixer": "^10.4.21", "babel-plugin-react-dev-locator": "^1.0.0", "eslint": "^9.25.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^16.0.0", "postcss": "^8.5.3", "rollup": "^4.46.1", "tailwindcss": "^3.4.17", "typescript-eslint": "^8.30.1", "vite": "^6.3.5", "vite-plugin-trae-solo-badge": "^1.0.0", "vite-tsconfig-paths": "^5.1.4", "vitest": "^1.0.0" } }