-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
82 lines (82 loc) · 2.44 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
{
"name": "vscode-css-modules",
"displayName": "CSS Modules",
"description": "Visual Studio Code extension for CSS Modules",
"version": "0.5.1",
"publisher": "clinyong",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Other"
],
"homepage": "https://github.com/clinyong/vscode-css-modules",
"repository": {
"type": "git",
"url": "https://github.com/clinyong/vscode-css-modules"
},
"activationEvents": [
"onLanguage:typescriptreact",
"onLanguage:javascriptreact",
"onLanguage:javascript",
"onLanguage:typescript"
],
"contributes": {
"configuration": {
"type": "object",
"title": "CSS Modules Configuration",
"properties": {
"cssModules.camelCase": {
"type": [
"boolean",
"string"
],
"default": false,
"description": "Transform classnames in autocomplete suggestions."
},
"cssModules.pathAlias": {
"type": "object",
"default": {},
"description": "Path alias for import module."
}
}
}
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"prepare": "husky install"
},
"devDependencies": {
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.56.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"husky": ">=6",
"lint-staged": ">=10",
"mocha": "^8.4.0",
"prettier": "^2.3.2",
"typescript": "^4.3.2"
},
"dependencies": {
"fs-extra": "^10.0.0",
"json5": "^2.2.0",
"lodash": "^4.17.4"
},
"icon": "icon/css-modules.png",
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}