forked from tlahmann/vscode-alex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.93 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
{
"name": "alex-linter",
"version": "0.6.6",
"displayName": "AlexJS Linter",
"description": "Find gender favouring, race related, religion inconsiderate or other unequal phrasing",
"publisher": "tlahmann",
"contributors": [
{
"name": "shinnn",
"url": "https://github.com/shinnn/"
}
],
"icon": "media/icon.png",
"repository": "https://github.com/tlahmann/vscode-alex",
"homepage": "https://github.com/tlahmann/vscode-alex#readme",
"bugs": "https://github.com/tlahmann/vscode-alex/issues",
"license": "MIT",
"galleryBanner": {
"color": "#FAFAFA",
"theme": "light"
},
"engines": {
"vscode": "^1.47.0"
},
"activationEvents": [
"onLanguage:plaintext",
"onCommand:alex-linter.lint"
],
"categories": [
"Linters",
"Other"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "AlexJS Linter",
"properties": {
"alex-linter.strategy": {
"type": "string",
"default": "onSave",
"description": "Sets when the Alex linter checks for inconsiderate writing",
"enum": [
"onSave",
"onType",
"user"
],
"enumDescriptions": [
"Check the document while typing",
"Check the document when saving",
"Check the document on user initiation"
]
},
"alex-linter.noBinary": {
"type": "boolean",
"default": false,
"description": "Control whether AlexJS Linter warns for pairs like 'he or she'."
},
"alex-linter.profanitySureness": {
"type": "string",
"default": "maybe",
"description": "The profanity sureness is a minimum rating for alex to check for. If set to 'maybe' then alex will warn for the levels 'maybe' and 'likely' profanities, but not for 'unlikely' profanity.",
"enum": [
"likely",
"maybe",
"unlikely"
],
"enumDescriptions": [
"Words that are likely profanity are marked as waring",
"Words that are possibly profanity are marked as waring",
"Words that are unlikely profanity are marked as waring"
]
}
}
},
"commands": [
{
"command": "alex-linter.lint",
"title": "AlexLiner: Check for insensitive, inconsiderate writing"
}
]
},
"scripts": {
"compile": "tsc -b",
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"clean": "rimraf client/out && rimraf server/out",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"eslint": "^7.32.0",
"mocha": "^9.1.1",
"typescript": "^4.4.3"
},
"dependencies": {
"vscode-languageclient": "^7.0"
}
}