UNPKG

@omlet/cli

Version:

Omlet (https://omlet.dev) is a component analytics tool that uses a CLI to scan your codebase to detect components and their usage. Get real usage insights from customizable charts to measure adoption across all projects and identify opportunities to impr

140 lines 4.3 kB
{ "name": "@omlet/cli", "version": "2.0.0", "bin": { "omlet": "bin/omlet" }, "main": "dist/node-src/index.js", "types": "dist/node-src/index.d.ts", "files": [ "dist", "bin" ], "engines": { "node": ">= 18" }, "napi": { "name": "cli", "triples": { "defaults": false, "additional": [ "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-pc-windows-msvc" ] } }, "license": "MIT", "keywords": [ "analytics", "react", "component", "front-end", "ui", "statistics", "UI components", "design systems", "component library" ], "devDependencies": { "@napi-rs/cli": "^2.4.4", "@types/find-root": "^1.1.2", "@types/hosted-git-info": "^3.0.2", "@types/inquirer": "^8.2.1", "@types/jest": "^29.5.4", "@types/js-yaml": "^4.0.5", "@types/micromatch": "^4.0.2", "@types/minimatch": "^3.0.5", "@types/node": "^17.0.21", "@types/node-fetch": "^2.6.1", "@types/server-destroy": "^1.0.1", "@types/streaming-json-stringify": "^3.1.1", "@types/update-notifier": "^6.0.8", "@types/uuid": "^9.0.1", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "axios": "^1.9.0", "eslint": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", "husky": "^8.0.3", "jest": "^29.7.0", "lint-staged": "^13.2.3", "ts-jest": "^29.1.1", "typescript": "^4.5.5", "verdaccio": "^6.1.2", "verdaccio-auth-memory": "^10.2.0", "verdaccio-memory": "^10.2.0" }, "scripts": { "artifacts": "napi artifacts", "build:dev": "npm run clean && npm run build:napi && npm run build:ts && mv *.node ./dist/node-src/", "build:release": "npm run clean && npm run build:napi -- --release", "build:napi": "napi build --platform --cargo-name node -p node --js ./node-src/binding.js --dts ./node-src/binding.d.ts", "build:ts": "tsc -p tsconfig.build.json", "build:test": "npm run build:napi && rm -rf artifacts && mkdir artifacts && mv *.node ./artifacts/ && npm run artifacts && npm run build:ts", "clean": "rm -rf ./dist", "lint:js": "eslint ./node-src ./tests --ext .js,.jsx,.ts,.tsx", "lint:rs": "cargo fmt", "lint": "npm run lint:js && npm run lint:rs", "lint:staged": "lint-staged", "prepublishOnly": "napi prepublish -t npm --skip-gh-release", "pretest:e2e": "npm run clean && npm run build:test", "test:e2e": "jest -c jest.config.e2e.js", "test:node": "jest -c jest.config.node.js", "test:native": "cargo test", "test": "npm run test:native && npm run test:node && npm run test:e2e", "version": "napi version", "prepare": "([ -n \"$CI\" ] && exit 0) || (cd .. && husky install)" }, "dependencies": { "@sentry/node": "^7.108.0", "ajv": "^8.13.0", "ci-info": "^4.0.0", "colorette": "^2.0.19", "commander": "^9.0.0", "core-js": "^3.29.1", "cosmiconfig": "^8.2.0", "eslint-plugin-import": "^2.27.5", "fast-glob": "^3.2.11", "find-root": "^1.1.0", "get-tsconfig": "4.7.1", "git-repo-info": "^2.1.1", "hosted-git-info": "^5.0.0", "http-status-codes": "^2.2.0", "https-proxy-agent": "^5.0.1", "inquirer": "^8.2.2", "is-docker": "^2.2.1", "js-yaml": "^4.1.0", "json-stream-stringify": "^3.1.4", "json5": "^2.2.1", "jsonc-parser": "^3.2.0", "memfs": "^4.2.1", "micromatch": "^4.0.5", "node-fetch": "^2.6.6", "node-machine-id": "^1.1.12", "open": "^8.4.0", "ora": "^5.4.1", "server-destroy": "^1.0.1", "upath": "^2.0.1", "update-notifier": "^7.3.1", "uuid": "^9.0.0", "winston": "^3.10.0" }, "lint-staged": { "*.rs": "cargo fmt --", "node-src/*.{js,ts}": "eslint --fix --max-warnings 0" }, "optionalDependencies": { "@omlet/cli-darwin-arm64": "2.0.0", "@omlet/cli-darwin-x64": "2.0.0", "@omlet/cli-linux-x64-gnu": "2.0.0", "@omlet/cli-linux-x64-musl": "2.0.0", "@omlet/cli-linux-arm64-gnu": "2.0.0", "@omlet/cli-linux-arm64-musl": "2.0.0", "@omlet/cli-win32-x64-msvc": "2.0.0" } }