| 1 | { |
| 2 | "name": "boilerplate-fig-autocomplete", |
| 3 | "version": "1.0.0", |
| 4 | "description": "Boilerplate Fig autocomplete spec package", |
| 5 | "scripts": { |
| 6 | "dev": "npx @withfig/autocomplete-tools dev", |
| 7 | "create-spec": "npx @withfig/autocomplete-tools create-spec", |
| 8 | "publish-spec": "npx @fig/publish-spec -i", |
| 9 | "test": "tsc --noEmit && echo 'All specs passed validation.'", |
| 10 | "build": "npx @withfig/autocomplete-tools compile", |
| 11 | "lint": "eslint '**/*.ts' && npx prettier --check '**/*.ts'", |
| 12 | "lint:fix": "eslint '**/*.ts' --fix && npx prettier --write '**/*.ts'" |
| 13 | }, |
| 14 | "engines": { |
| 15 | "node": ">=16" |
| 16 | }, |
| 17 | "fig": { |
| 18 | "dev": { |
| 19 | "description": "Watching and compile .ts files in ./src", |
| 20 | "icon": "fig://template?badge=🛠", |
| 21 | "priority": 100 |
| 22 | }, |
| 23 | "create-spec": { |
| 24 | "description": "Create a new spec with the provided name in ./src" |
| 25 | }, |
| 26 | "publish-spec": { |
| 27 | "description": "Publish a spec to Fig teams" |
| 28 | }, |
| 29 | "test": { |
| 30 | "description": "Typecheck all .ts files in ./src" |
| 31 | }, |
| 32 | "build": { |
| 33 | "description": "Compile all files in ./src" |
| 34 | }, |
| 35 | "lint": { |
| 36 | "description": "Check for linting issues" |
| 37 | }, |
| 38 | "lint:fix": { |
| 39 | "description": "Fix linting issues" |
| 40 | } |
| 41 | }, |
| 42 | "prettier": { |
| 43 | "trailingComma": "es5", |
| 44 | "printWidth": 80 |
| 45 | }, |
| 46 | "lint-staged": { |
| 47 | "*.ts": [ |
| 48 | "eslint --fix", |
| 49 | "pretty-quick --staged" |
| 50 | ] |
| 51 | }, |
| 52 | "author": "", |
| 53 | "license": "MIT", |
| 54 | "devDependencies": { |
| 55 | "@fig/eslint-config-autocomplete": "latest", |
| 56 | "@fig/publish-spec": "^1.2.0", |
| 57 | "@types/node": "^16.11.33", |
| 58 | "@withfig/autocomplete-tools": "^2.7.2", |
| 59 | "@withfig/autocomplete-types": "latest", |
| 60 | "eslint": "^8.15.0", |
| 61 | "lint-staged": "^12.4.1", |
| 62 | "prettier": "^2.6.2", |
| 63 | "pretty-quick": "^3.1.3", |
| 64 | "typescript": "^5.2.0" |
| 65 | } |
| 66 | } |