UNPKG

@scania/tegel-cli

Version:

CLI tool for copying and transforming Tegel components with custom prefixes

65 lines (64 loc) 1.59 kB
{ "name": "@scania/tegel-cli", "version": "0.0.0-tegel-cli-beta.0", "description": "CLI tool for copying and transforming Tegel components with custom prefixes", "type": "module", "bin": "./dist/cli.js", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "templates" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest", "test:unit": "vitest run --dir tests/unit", "test:integration": "vitest run --dir tests/integration", "lint": "eslint src --ext .ts,.tsx", "prepare:source": "tsx scripts/prepare-tegel-source.ts", "prepublishOnly": "npm run build" }, "keywords": [ "tegel", "scania", "design-system", "cli", "components", "microfrontend" ], "author": "Scania", "license": "MIT", "dependencies": { "@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/typescript-estree": "^6.21.0", "chalk": "^5.3.0", "commander": "^12.0.0", "cosmiconfig": "^9.0.0", "execa": "^8.0.1", "fs-extra": "^11.2.0", "glob": "^10.3.10", "ora": "^8.0.1", "postcss": "^8.4.33", "postcss-scss": "^4.0.9", "prompts": "^2.4.2", "semver": "^7.5.4", "typescript": "^5.3.3", "zod": "^3.22.4" }, "devDependencies": { "@types/fs-extra": "^11.0.4", "@types/node": "^20.11.5", "@types/prompts": "^2.4.9", "@types/semver": "^7.5.6", "@vitest/ui": "^1.2.0", "eslint": "^8.56.0", "tsup": "^8.5.0", "tsx": "^4.7.0", "vitest": "^1.2.0" }, "engines": { "node": ">=18.0.0" } }