mirror of
https://github.com/steel-dev/cli.git
synced 2026-09-14 20:47:34 +08:00
124 lines
2.9 KiB
JSON
124 lines
2.9 KiB
JSON
{
|
|
"name": "@steel-dev/cli",
|
|
"version": "0.0.3",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"steel": "./dist/steel.js"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"clean": "rm -rf dist",
|
|
"build": "npm run clean && tsc",
|
|
"dev": "tsc --watch",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"docs:generate": "npm run build && node scripts/generate-docs.js",
|
|
"test": "npm run build && jest",
|
|
"test:unit": "jest --testPathPattern=tests/unit",
|
|
"test:integration": "npm run build && jest --testPathPattern=tests/integration",
|
|
"test:watch": "jest --watch --testPathPattern=tests/unit",
|
|
"pretest": "npm run build"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"manifest.json"
|
|
],
|
|
"dependencies": {
|
|
"@babel/parser": "^7.27.2",
|
|
"ast-types": "^0.14.2",
|
|
"figures": "^6.1.0",
|
|
"ink": "^5.2.1",
|
|
"ink-big-text": "^2.0.0",
|
|
"ink-form": "^2.0.1",
|
|
"ink-link": "^4.1.0",
|
|
"ink-progress-bar": "^3.0.0",
|
|
"ink-select-input": "^6.2.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"ink-syntax-highlight": "^2.0.2",
|
|
"ink-task-list": "^2.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"octokit": "^5.0.3",
|
|
"open": "^10.1.2",
|
|
"pastel": "^3.0.0",
|
|
"react": "^18.2.0",
|
|
"recast": "^0.23.11",
|
|
"tar-stream": "^3.1.7",
|
|
"uuid": "^11.1.0",
|
|
"zod": "^3.24.3"
|
|
},
|
|
"overrides": {
|
|
"ink-select-input": "^6.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/css": "^0.10.0",
|
|
"@eslint/js": "^9.31.0",
|
|
"@eslint/json": "^0.13.0",
|
|
"@eslint/markdown": "^7.0.0",
|
|
"@sindresorhus/tsconfig": "^7.0.0",
|
|
"@types/react": "^19.1.2",
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
|
"@typescript-eslint/parser": "^8.37.0",
|
|
"@vdemedes/prettier-config": "^2.0.1",
|
|
"chalk": "^5.4.1",
|
|
"eslint": "^9.31.0",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"eslint-config-xo-react": "^0.28.0",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.5.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"globals": "^16.3.0",
|
|
"husky": "^9.1.7",
|
|
"ink-testing-library": "^4.0.0",
|
|
"prettier": "^3.6.2",
|
|
"rimraf": "^6.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.37.0"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"roots": [
|
|
"<rootDir>/tests"
|
|
],
|
|
"testMatch": [
|
|
"**/*.test.ts"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/tests/setup.ts"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"source/**/*.{ts,tsx}",
|
|
"!source/**/*.d.ts",
|
|
"!source/types/**"
|
|
],
|
|
"coverageDirectory": "coverage",
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcov",
|
|
"html"
|
|
],
|
|
"testTimeout": 60000,
|
|
"maxWorkers": 1
|
|
},
|
|
"xo": {
|
|
"extends": "xo-react",
|
|
"prettier": true,
|
|
"rules": {
|
|
"react/prop-types": "off"
|
|
}
|
|
},
|
|
"prettier": "@vdemedes/prettier-config"
|
|
}
|