forked from kcmr/vsce-remove-unused-imports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 3.92 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "remove-unused-imports",
"displayName": "Remove Unused Imports",
"version": "0.0.0-development",
"description": "Removes unused ES6 imports in JavaScript and TypeScript files without changing the order",
"categories": [
"Formatters",
"Programming Languages"
],
"keywords": [
"imports",
"cleanup",
"formatting",
"javascript",
"ES modules"
],
"homepage": "https://github.com/kcmr/vsce-remove-unused-imports#readme",
"bugs": {
"url": "https://github.com/kcmr/vsce-remove-unused-imports/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/kcmr/vsce-remove-unused-imports.git"
},
"license": "MIT",
"author": "Kus Cámara",
"publisher": "kuscamara",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "remove-unused-imports.main",
"title": "Remove Unused Imports"
}
]
},
"activationEvents": [
"onCommand:remove-unused-imports.main",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"engines": {
"vscode": "^1.0.0"
},
"icon": "images/icon.png",
"galleryBanner": {
"color": "#212121",
"theme": "dark"
},
"scripts": {
"vscode:prepublish": "npm run build -- --minify",
"clean": "rimraf dist",
"build": "npm run clean && esbuild \"./src/extension.ts\" --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"watch": "npm run clean && npm run build -- --sourcemap --watch",
"compile": "npm run clean && tsc -p ./",
"pretest": "npm run compile && npm run lint",
"test": "jest",
"lint": "eslint src --ext ts",
"format": "prettier --write \"**/*.{js,ts,md,json}\"",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-decorators": "^7.17.2",
"@babel/plugin-syntax-jsx": "^7.16.7",
"@babel/plugin-syntax-typescript": "^7.16.7",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/babel__core": "^7.1.15",
"@types/vscode": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"esbuild": "^0.12.20",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^27.0.6",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"recast": "^0.20.5",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.3",
"semantic-release-vsce": "^5.1.0",
"simple-git-hooks": "^2.8.0",
"typescript": "^4.3.2"
},
"lint-staged": {
"src/*.ts": "eslint --cache --fix",
"*": "prettier --ignore-unknown --write"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm t"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
],
[
"semantic-release-vsce",
{
"publish": true,
"packageVsix": true
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "*.vsix",
"label": "vsce-remove-unused-imports-${nextRelease.version}.vsix"
}
]
}
]
],
"branches": [
"master"
]
}
}