-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.78 KB
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
{
"name": "nativeflowcss-codesense",
"displayName": "NativeFlow CodeSense",
"description": "CodeSense and visualization for react-native library nativeflowcss",
"version": "1.0.0",
"publisher": "jayowiee",
"homepage": "https://nativeflow.js.org",
"repository": {
"type": "git",
"url": "https://github.com/nativeflowteam/codesense.git"
},
"bugs": {
"url": "https://github.com/nativeflowteam/codesense/issues"
},
"license": "MIT",
"keywords": [
"nativeflow",
"nativeflowcss",
"native-flow",
"css",
"jsx",
"tsx",
"react",
"intellisense",
"autocomplete",
"syntax",
"hover"
],
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onStartupFinished",
"workspaceContains:**/package.json"
],
"main": "./out/extension.js",
"icon": "assets/logo.png",
"contributes": {
"commands": [],
"configuration": {
"title": "NativeFlow CSS",
"properties": {
"nativeflowcss.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable NativeFlow CSS CodeSense"
},
"nativeflowcss.packageNames": {
"type": "array",
"items": {
"type": "string"
},
"default": ["nativeflowcss"],
"description": "npm package specifier(s) to treat as NativeFlow CSS (supports scoped forks)"
},
"nativeflowcss.hoverTooltipStyle": {
"type": "string",
"enum": ["pastel", "json"],
"default": "pastel",
"description": "Tooltip presentation style for NativeFlow hover previews"
},
"nativeflowcss.hoverHighlightEnabled": {
"type": "boolean",
"default": true,
"description": "Highlight the NativeFlow token under the cursor with a subtle pastel background"
},
"nativeflowcss.completionsEnabled": {
"type": "boolean",
"default": true,
"description": "Offer NativeFlow completions while typing (prefix and after '.')"
},
"nativeflowcss.validationEnabled": {
"type": "boolean",
"default": true,
"description": "Underline incomplete or unknown NativeFlow properties in JSX/TSX"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"generate-metadata": "tsx scripts/generate-metadata.ts",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/vscode": "^1.75.0",
"@types/node": "^18.19.0",
"typescript": "^4.9.5",
"eslint": "^8.34.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"tsx": "^4.19.0"
}
}