|
11 | 11 | "color": "#000000", |
12 | 12 | "theme": "dark" |
13 | 13 | }, |
| 14 | + "sideEffect": false, |
14 | 15 | "engines": { |
15 | | - "vscode": "^1.36.0" |
| 16 | + "vscode": "^1.62.0", |
| 17 | + "node": "^14.16.0" |
16 | 18 | }, |
17 | 19 | "categories": [ |
18 | 20 | "Snippets", |
19 | 21 | "Other" |
20 | 22 | ], |
21 | | - "main": "./out/src/extension", |
| 23 | + "source": "./src/extension.ts", |
| 24 | + "main": "./out/extension.js", |
22 | 25 | "activationEvents": [ |
23 | 26 | "onCommand:extension.createComponent", |
24 | 27 | "onCommand:extension.createFelaComponent" |
|
77 | 80 | "ackeeFrontend.typescriptFelaTheme": { |
78 | 81 | "type": "boolean", |
79 | 82 | "default": false, |
80 | | - "description": "If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (`typescript` option must be enabled)" |
| 83 | + "description": "If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (TypeScript option must be enabled)" |
81 | 84 | }, |
82 | 85 | "ackeeFrontend.typescriptFelaExtendProp": { |
83 | 86 | "type": "boolean", |
84 | 87 | "default": false, |
85 | | - "description": "If enabled, scaffolded interfaces of components will have `extend` prop. (`typescript` option must enabled)." |
| 88 | + "description": "If enabled, scaffolded interfaces of components will have `extend` prop. (TypeScript option must enabled)." |
86 | 89 | } |
87 | 90 | } |
88 | 91 | } |
89 | 92 | }, |
90 | 93 | "scripts": { |
91 | | - "vscode:prepublish": "yarn build-base --minify", |
92 | | - "clean": "rm -rf out *.vsix", |
93 | | - "build-base": "yarn clean; esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node", |
94 | | - "build": "yarn build-base --sourcemap", |
95 | | - "build-watch": "yarn build-base --sourcemap --watch", |
96 | | - "test-compile": "tsc -p ./", |
97 | | - "version": "changelog-it && code --wait CHANGELOG.md && git add CHANGELOG.md", |
98 | | - "package": "vsce package" |
| 94 | + "clean": "rm -rf out *.vslx", |
| 95 | + "vscode:prepublish": "yarn build", |
| 96 | + "build": "yarn clean && parcel build", |
| 97 | + "watch": "parcel watch", |
| 98 | + "check": "tsc --noEmit", |
| 99 | + "package": "vsce package --yarn", |
| 100 | + "version": "changelog-it && code --wait CHANGELOG.md && git add CHANGELOG.md" |
99 | 101 | }, |
100 | 102 | "devDependencies": { |
101 | | - "@types/node": "^10.12.21", |
102 | | - "@types/vscode": "^1.36.0", |
| 103 | + "@types/node": "^14.16.0", |
| 104 | + "@types/shelljs": "^0.8.9", |
| 105 | + "@types/vscode": "^1.62.0", |
103 | 106 | "changelog-it": "github:AckeeCZ/changelog-it", |
104 | | - "esbuild": "^0.13.15", |
105 | | - "typescript": "^3.3.1", |
| 107 | + "parcel": "^2.0.1", |
| 108 | + "typescript": "^4.5.2", |
106 | 109 | "vsce": "^2.5.0" |
107 | 110 | }, |
108 | 111 | "dependencies": { |
109 | 112 | "fs": "0.0.1-security", |
110 | 113 | "path": "^0.12.7", |
111 | | - "shelljs": "^0.8.3" |
| 114 | + "shelljs": "^0.8.4" |
112 | 115 | }, |
113 | 116 | "resolutions": { |
114 | 117 | "yargs-parser": "^20.2.4", |
|
0 commit comments