-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.85 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 2.85 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
100
101
102
103
104
105
106
107
108
{
"name": "equality",
"displayName": "Equality",
"description": "Evaluate JavaScript expressions inline and replace them with the result.",
"version": "0.8.0",
"publisher": "javierartero",
"license": "MIT",
"engines": {
"vscode": "^1.90.0"
},
"icon": "images/icon.png",
"galleryBanner": {
"color": "#503F2F",
"theme": "dark"
},
"homepage": "https://github.com/javierartero/vscode-equality",
"repository": {
"type": "git",
"url": "https://github.com/javierartero/vscode-equality"
},
"categories": [
"Other"
],
"keywords": [
"evaluate",
"calculate",
"faker",
"chroma",
"lodash"
],
"activationEvents": [
"onCommand:equality.evaluate",
"onCommand:extension.equality"
],
"main": "./out/src/extension.js",
"contributes": {
"commands": [
{
"command": "equality.evaluate",
"title": "Equality: Evaluate expression"
},
{
"command": "extension.equality",
"title": "Equality: Evaluate expression (legacy)"
}
],
"keybindings": [
{
"command": "equality.evaluate",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "Equality configuration",
"properties": {
"equality.symbol": {
"type": "string",
"default": "=",
"description": "Symbol used to detect the start of the expression that will be evaluated."
},
"equality.vars": {
"type": "object",
"default": {
"plugin": "equality"
},
"description": "Custom variables exposed as e.<name> inside Equality expressions."
},
"faker.locale": {
"type": "string",
"default": "en",
"description": "Locale used by the bundled faker helpers."
}
}
}
},
"scripts": {
"clean": "node -e \"const fs=require('node:fs');for (const path of ['out','.vscode-test']) fs.rmSync(path,{recursive:true,force:true});\"",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint . --ext .ts",
"vscode:prepublish": "npm run package",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"package": "npm run clean && npm run compile"
},
"dependencies": {
"chroma-js": "^3.1.2",
"faker": "5.5.3",
"lodash": "^4.17.21"
},
"devDependencies": {
"@eslint/js": "^9.23.0",
"@types/faker": "^5.5.9",
"@types/lodash": "^4.17.16",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.30",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.23.0",
"mocha": "^11.7.5",
"typescript": "^5.8.2"
}
}