-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.88 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
{
"name": "tw-prefix-grammar",
"displayName": "Tailwind Prefixer",
"description": "Adds a tw-prefix grammar and prefixer command for tw classes",
"icon": "images/icon-128x128.webp",
"galleryBanner": {
"color": "#0a2c4f",
"theme": "dark"
},
"publisher": "AlexmChan",
"version": "1.1.0",
"engines": {
"vscode": "^1.86.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"extensionKind": [
"ui",
"workspace"
],
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/alexanderchan/tw-prefix-grammar"
},
"scripts": {
"build": "esbuild ./src/extension.ts --bundle --outfile=./dist/extension.js --platform=node --format=cjs --external:vscode --sourcemap",
"esbuild-watch": "npm run build -- --sourcemap --watch",
"package": "rimraf dist/ && npm run build && vsce package -o dist/",
"vscode:install": "tsx ./scripts/copy-to-local.ts"
},
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "prefixclass.changePrefixFromString",
"title": "Prefix tailwind classes in selection"
}
],
"grammars": [
{
"scopeName": "tw-prefix.injection",
"path": "./syntaxes/injection.json",
"injectTo": [
"source.jsx",
"source.js",
"source.ts",
"source.tsx"
]
}
],
"configuration": {
"title": "Tailwind Prefixer",
"properties": {
"tailwindPrefixer.prefix": {
"type": "string",
"default": "tw-",
"markdownDescription": "The prefix to be added to classes"
}
}
}
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/glob": "^8.1.0",
"@types/node": "~16.18.68",
"@types/vscode": "^1.77.0",
"@vscode/vsce": "^2.24.0",
"rimraf": "^5.0.1",
"zx": "^7.2.3"
}
}