forked from theshukran/theshukran-react-utils
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.57 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
{
"name": "react-toolkit",
"displayName": "react-toolkit",
"description": "Useful tools for react developers",
"version": "1.3.10",
"icon": "assets/logo.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/CodersAKL/react-toolkit"
},
"publisher": "Coders",
"homepage": "https://github.com/CodersAKL/react-toolkit",
"categories": [
"Formatters"
],
"galleryBanner": {
"color": "#2C3CA0",
"theme": "dark"
},
"engines": {
"vscode": "^1.61.1"
},
"activationEvents": [
"onLanguage:js",
"onLanguage:tsx",
"onLanguage:jsx",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./out/extension.js",
"source": "./src/extension.ts",
"targets": {
"main": {
"context": "node",
"isLibrary": true,
"sourceMap": false,
"optimize": true,
"outputFormat": "commonjs",
"includeNodeModules": false
}
},
"contributes": {
"commands": [
{
"command": "react-toolkit.extractStyle",
"title": "Extract style to StyleSheet"
},
{
"command": "react-toolkit.convertToTS",
"title": "Convert to Typescript"
},
{
"command": "react-toolkit.convertCjsToEsm",
"title": "Convert CommonJS to Typescript"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "react-toolkit.extractStyle",
"group": "1_modification@1"
}
],
"explorer/context": [
{
"when": "resourceExtname == .js",
"command": "react-toolkit.convertToTS",
"group": "1_modification@1"
},
{
"when": "resourceExtname == .js",
"command": "react-toolkit.convertCjsToEsm",
"group": "1_modification@2"
}
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"scripts": {
"cm": "git diff-index --cached --quiet HEAD || git-cz",
"vscode:prepublish": "yarn run compile",
"compile": "rimraf out && parcel build",
"compile:analyze": "rimraf out && parcel build --reporter @parcel/reporter-bundle-analyzer",
"lint": "eslint src --ext ts --fix",
"watch": "parcel",
"pretest": "rimraf out && tsc -p ./ && yarn run lint",
"test": "node ./out/test/runTest.js",
"release": "vsce publish",
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"devDependencies": {
"@parcel/reporter-bundle-analyzer": "^2.0.0",
"@types/fs-extra": "^9.0.12",
"@types/glob": "^7.1.1",
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.12",
"@types/vscode": "^1.42.0",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"@typescript-eslint/typescript-estree": "^4.29.0",
"conventional-changelog-cli": "^2.0.31",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "~2.4.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"git-cz": "^4.7.6",
"github-release-from-changelog": "^2.1.1",
"glob": "^7.1.6",
"mocha": "^9.0.3",
"parcel": "^2.0.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@wessberg/cjs-to-esm-transformer": "^0.0.22",
"fs-extra": "^10.0.0",
"react-js-to-ts": "^1.4.0",
"typescript": "^3.7.5"
}
}