forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@withfig/autocomplete",
"version": "2.642.0",
"description": "Fig Autocomplete Specs",
"schemaVersion": "v7",
"main": "./build/index",
"types": "./build/index.d.ts",
"type": "module",
"packageManager": "[email protected]",
"browserslist": [
"safari >=12",
"edge >=79"
],
"scripts": {
"dev": "npx @withfig/autocomplete-tools dev",
"create-spec": "npx @withfig/autocomplete-tools create-spec",
"build": "npx @withfig/autocomplete-tools compile; node generate-index.js; vite build",
"lint": "eslint '**/*.ts' && npx prettier --check '**/*.ts' --parser typescript",
"lint:fix": "eslint '**/*.ts' --fix && npx prettier --write '**/*.ts' --parser typescript",
"test": "tsc --noEmit && echo 'All specs passed validation. You are ready to push!'",
"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"
},
"prepare": {
"description": "Install husky"
}
},
"prettier": {
"trailingComma": "es5",
"printWidth": 80
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"pretty-quick --staged"
]
},
"files": [
"build/**/*.js",
"build/**/*.css"
],
"author": "",
"license": "ISC",
"bugs": "https://github.com/withfig/autocomplete/issues",
"repository": "https://github.com/withfig/autocomplete",
"devDependencies": {
"@fig/eslint-config-autocomplete": "^1.2.1",
"@types/node": "^20.7.1",
"@types/progress": "^2.0.5",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.1.0",
"@withfig/autocomplete-tools": "^2.7.10",
"@withfig/autocomplete-types": "^1.29.0",
"autoprefixer": "^10.4.16",
"chalk": "^5.3.0",
"chokidar": "^3.5.3",
"cors": "^2.8.5",
"danger": "^11.3.0",
"esbuild": "^0.19.4",
"eslint": "^8.50.0",
"express": "^4.18.2",
"glob": "^10.3.10",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"pretty-quick": "^3.1.3",
"progress": "^2.0.3",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.0",
"vite": "^4.4.9",
"vite-plugin-externals": "^0.6.2"
},
"dependencies": {
"@fig/autocomplete-generators": "^2.4.0",
"@fig/autocomplete-helpers": "^1.0.7",
"@fig/autocomplete-hooks": "^1.0.2",
"@withfig/api-bindings": "^0.30.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"semver": "^7.5.4",
"strip-json-comments": "^5.0.1",
"yaml": "^2.3.2"
},
"resolutions": {
"word-wrap": "1.2.4"
}
}