{ "name": "@withfig/autocomplete", "version": "2.7.3", "description": "Fig Autocomplete Spec Linter", "schemaVersion": "v7", "browserslist": [ "safari >=11" ], "scripts": { "dev": "npx @withfig/autocomplete-tools dev", "create-spec": "npx @withfig/autocomplete-tools create-spec", "build": "npx @withfig/autocomplete-tools compile", "lint": "eslint '**/*.ts' && npx prettier --check '**/*.ts'", "lint:fix": "eslint '**/*.ts' --fix && npx prettier --write '**/*.ts'", "test": "tsc --noEmit && echo 'All specs passed validation. You are ready to push!'", "copy": "func() { mkdir -p ~/.fig/autocomplete/$(dirname ${1}.js); cp \"$(pwd)\"/build/${1}.js ~/.fig/autocomplete/${1}.js; }; func", "copy:all": "rsync -a --include '*/' --include '*.js' --exclude '*' $(pwd)/build/ ~/.fig/autocomplete/", "prepare": "husky install" }, "fig": { "dev": { "description": "Watching and compile .ts files in ./src", "icon": "fig://template?badge=🛠", "priority": 100 }, "create-spec": { "description": "Create a new completion spec" }, "build": { "description": "Compile all files in /src" }, "lint": { "description": "Check for linting issues" }, "lint:fix": { "description": "Fix linting issues" }, "test": { "description": "Typecheck all .ts files in /src" }, "copy": { "description": "Copy a CLI completion spec to ~/.fig/autocomplete" }, "copy:all": { "description": "Copy all files from /build to ~/.fig/autocomplete" }, "prepare": { "description": "Install husky" } }, "prettier": { "trailingComma": "es5", "printWidth": 80 }, "lint-staged": { "*.ts": [ "eslint --fix", "pretty-quick --staged" ] }, "files": [ "build/**/*.js" ], "author": "", "license": "ISC", "devDependencies": { "@types/inquirer": "^7.3.1", "@types/node": "^14.14.33", "@types/progress": "^2.0.3", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "@withfig/autocomplete-tools": "^1.0.0", "@withfig/eslint-plugin-fig-linter": "^1.0.0", "chalk": "^4.1.0", "chokidar": "^3.5.1", "danger": "^10.6.4", "esbuild": "^0.12.15", "eslint": "^7.22.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-compat": "^3.13.0", "eslint-plugin-prettier": "^3.3.1", "fast-glob": "^3.2.7", "husky": "^6.0.0", "lint-staged": "^10.5.4", "prettier": "2.2.1", "pretty-quick": "^3.1.0", "progress": "^2.0.3", "ts-node": "^9.1.1", "typescript": "^4.2.3" } }