UNPKG

@twelvehart/envctl

Version:

Environment variable context manager for development workflows

118 lines (117 loc) 3.5 kB
{ "name": "@twelvehart/envctl", "version": "1.4.0", "description": "Environment variable context manager for development workflows", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "envctl": "dist/cli.js" }, "files": [ "dist/**/*", "README.md", "LICENSE", "shell-integration.sh" ], "scripts": { "build": "tsc", "build:watch": "tsc --watch", "dev": "ts-node src/cli.ts", "dev:watch": "ts-node --watch src/cli.ts", "clean": "rm -rf dist tsconfig.tsbuildinfo", "clean:all": "rm -rf dist node_modules coverage .tsbuildinfo", "prebuild": "pnpm run clean", "postbuild": "chmod +x dist/cli.js", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:ci": "jest --coverage --watchAll=false --passWithNoTests", "type-check": "tsc --noEmit", "type-check:watch": "tsc --noEmit --watch", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "format": "prettier --write \"src/**/*.{ts,js,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,js,json,md}\"", "audit": "pnpm audit --audit-level=high", "precommit": "pnpm run lint && pnpm run type-check && pnpm run test:ci", "prepare": "husky install || true", "start": "node dist/cli.js", "smoke-test": "./scripts/run-smoke-tests.sh", "smoke-test:compose": "./scripts/run-smoke-tests-compose.sh", "smoke-test:debug": "./scripts/debug-smoke-tests.sh", "smoke-test:node18": "./scripts/run-smoke-tests-node18.sh", "smoke-test:node20": "./scripts/run-smoke-tests-node20.sh", "smoke-test:node22": "./scripts/run-smoke-tests-node22.sh", "smoke-test:zsh": "./scripts/run-smoke-tests-zsh.sh", "test:user-install": "./scripts/test-user-install.sh", "release": "semantic-release", "release:dry": "semantic-release --dry-run" }, "keywords": [ "env", "environment", "variables", "cli", "development", "context", "manager", "profiles", "dotenv" ], "author": { "name": "Ahmad Ragab", "email": "hegemon@twelvehart.org" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ASRagab/envctl.git" }, "homepage": "https://github.com/ASRagab/envctl#readme", "bugs": { "url": "https://github.com/ASRagab/envctl/issues" }, "dependencies": { "chalk": "^4.1.2", "commander": "^14.0.0", "dotenv": "^16.5.0", "fs-extra": "^11.3.0", "tslib": "^2.8.1" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.29.0", "@types/fs-extra": "^11.0.4", "@types/jest": "^30.0.0", "@types/node": "^24.0.4", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-import": "^2.32.0", "husky": "^9.1.7", "jest": "^30.0.3", "lint-staged": "^16.1.2", "prettier": "^3.6.1", "semantic-release": "^24.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "engines": { "node": ">=18.0.0", "pnpm": ">=10.0.0" }, "lint-staged": { "*.{ts,js}": [ "eslint --fix", "prettier --write" ], "*.{json,md,yml,yaml}": [ "prettier --write" ] } }