|
1 | 1 | { |
2 | 2 | "name": "ackee-frontend", |
3 | 3 | "displayName": "Ackee frontend", |
4 | | - "description": "A set of usefull snippets and commands we use at Ackee for web apps development.", |
| 4 | + "description": "A set of useful snippets and commands we use at Ackee for web apps development.", |
5 | 5 | "version": "0.4.9", |
6 | 6 | "repository": "https://github.com/AckeeCZ/vscode-frontend", |
7 | 7 | "publisher": "ackee", |
|
73 | 73 | "type": "boolean", |
74 | 74 | "default": false, |
75 | 75 | "description": "If enabled, scaffolded components will be in TypeScript." |
| 76 | + }, |
| 77 | + "ackeeFrontend.typescriptFelaTheme": { |
| 78 | + "type": "boolean", |
| 79 | + "default": false, |
| 80 | + "description": "If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (`typescript` option must be enabled)" |
| 81 | + }, |
| 82 | + "ackeeFrontend.typescriptFelaExtendProp": { |
| 83 | + "type": "boolean", |
| 84 | + "default": false, |
| 85 | + "description": "If enabled, scaffolded interfaces of components will have `extend` prop. (`typescript` option must enabled)." |
76 | 86 | } |
77 | 87 | } |
78 | 88 | } |
79 | 89 | }, |
80 | 90 | "scripts": { |
81 | | - "vscode:prepublish": "npm run build-base -- --minify", |
82 | | - "build-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node", |
83 | | - "build": "npm run build-base -- --sourcemap", |
84 | | - "build-watch": "npm run build-base -- --sourcemap --watch", |
| 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", |
85 | 96 | "test-compile": "tsc -p ./", |
86 | 97 | "version": "changelog-it && code --wait CHANGELOG.md && git add CHANGELOG.md", |
87 | 98 | "package": "vsce package" |
|
0 commit comments