8 Star 27 Fork 3

Eno / compile-hero

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 10.67 KB
一键复制 编辑 原始数据 按行查看 历史
wscats 提交于 2020-12-25 23:38 . Update package.json
{"name":"eno","displayName":"Sass/Less/Stylus/Pug/Jade/Typescript/Javascript Compile Hero Pro","description":"🚀Easy to compile ts, tsx, scss, less, stylus, jade, pug and es6+ on save without using a build task.","author":{"name":"Eno Yao","email":"kalone.cool@gmail.com","url":"https://github.com/Wscats"},"publisher":"Wscats","version":"2.3.53","preview":true,"icon":"logos/hero2.png","homepage":"https://github.com/Wscats/compile-hero","engines":{"vscode":"^1.39.0"},"badges":[{"url":"https://img.shields.io/badge/Author-Eno Yao-blueviolet","href":"https://github.com/Wscats","description":"Eno Yao"},{"url":"https://vsmarketplacebadge.apphb.com/version-short/wscats.eno.svg?color=blue&style=flat-square","href":"https://marketplace.visualstudio.com/items?itemName=Wscats.eno","description":"VS Marketplace"}],"galleryBanner":{"color":"#58bc58","theme":"dark"},"bugs":{"url":"https://github.com/Wscats/compile-hero/issues/new"},"license":"MIT","repository":{"type":"git","url":"https://github.com/Wscats/compile-hero"},"categories":["Other","Programming Languages","Snippets","Linters","Debuggers","Formatters"],"keywords":["sass","beautify","scss","typescript","ts","less","stylus","ES6","ES5","js","css","javascript","html","compile","tsx","jade","hero","close","port","pug","minified","format","formatter","formate"],"activationEvents":["onLanguage:less","onLanguage:scss","onLanguage:sass","onLanguage:jade","onLanguage:pug","onLanguage:stylus","onLanguage:javascript","onLanguage:javascriptreact","onLanguage:typescript","onLanguage:typescriptreact","onCommand:compile-hero.openInBrowser","onCommand:compile-hero.closePort","onCommand:compile-hero.compileFile","onCommand:compile-hero.compileSelected","onCommand:compile-hero.compileHeroOn","onCommand:compile-hero.compileHeroOff","onCommand:compile-hero.beautify","onCommand:compile-hero.beautifyFile"],"main":"./out/extension.js","contributes":{"commands":[{"command":"compile-hero.openInBrowser","title":"Open In Browser"},{"command":"compile-hero.closePort","title":"Close Port"},{"command":"compile-hero.compileSelected","title":"Compile Selected"},{"command":"compile-hero.compileFile","title":"Compile Files"},{"command":"compile-hero.beautify","title":"Beautify"},{"command":"compile-hero.beautifyFile","title":"Beautify File"}],"languages":[{"id":"json","aliases":["JSON"],"filenames":[".jsbeautifyrc",".jshintrc"]},{"id":"sass","aliases":["SASS"],"extensions":[".sass"]},{"id":"stylus","aliases":["styl"],"extensions":[".styl"]}],"jsonValidation":[{"fileMatch":".jsbeautifyrc","url":"./beautifyrc.json"}],"configuration":{"title":"Compile hero configuration","properties":{"compile-hero.disable-compile-files-on-did-save-code":{"type":"boolean","default":true,"description":"Disable compile files on did save code."},"compile-hero.javascript-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling javascript."},"compile-hero.sass-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling sass."},"compile-hero.scss-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling sass."},"compile-hero.less-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling less."},"compile-hero.stylus-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling stylus."},"compile-hero.jade-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling jade."},"compile-hero.typescript-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling typescript."},"compile-hero.typescriptx-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling typescriptx."},"compile-hero.pug-output-directory":{"type":"string","default":"./dist","description":"Set the directory to output after compiling pug."},"compile-hero.javascript-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of javascript."},"compile-hero.sass-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of sass."},"compile-hero.scss-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of sass."},"compile-hero.less-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of less."},"compile-hero.stylus-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of stylus."},"compile-hero.jade-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of jade."},"compile-hero.typescript-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of typescript."},"compile-hero.typescriptx-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of typescriptx."},"compile-hero.pug-output-toggle":{"type":"boolean","default":true,"description":"Switch to control the compilation of pug."},"compile-hero.notification-toggle":{"type":"boolean","default":true,"description":"Switch to control the notification."},"compile-hero.generate-minified-html":{"type":"boolean","default":false,"description":"Enable to generate minified html (*.min.html) files."},"compile-hero.generate-minified-html-only":{"type":"boolean","default":false,"description":"Enable to generate only minified html (*.min.html) files."},"compile-hero.generate-minified-css":{"type":"boolean","default":false,"description":"Enable to generate minified css (*.min.css) files."},"compile-hero.generate-minified-css-only":{"type":"boolean","default":false,"description":"Enable to generate only minified css (*.min.css) files."},"compile-hero.generate-minified-javascript":{"type":"boolean","default":false,"description":"Enable to generate minified javascript (*.dev.js) files."},"compile-hero.generate-minified-javascript-only":{"type":"boolean","default":false,"description":"Enable to generate only minified javascript (*.dev.js) files."},"compile-hero.ignore":{"type":["string","array"],"items":{"type":"string"},"default":[],"description":"List of paths to ignore when using format or compile command, including format or compile on save, uses glob pattern matching.","scope":"resource"},"compile-hero.watch":{"type":["string","array"],"items":{"type":"string"},"default":[],"description":"List of paths to watch when using format or compile command, including format or compile on save, uses glob pattern matching.","scope":"resource"},"compile-hero.config":{"type":["string","object","null"],"default":null,"description":"A path to a file, or an object containing the configuration options for js-beautify, if the .jsbeautifyrc file exists in project root, it overrides this configuration."},"compile-hero.language":{"type":"object","description":"Link file types to the beautifier type.","default":{"js":{"type":["javascript","json","jsonc"],"filename":[".jshintrc",".jsbeautifyrc"]},"css":["css","less","scss"],"html":["htm","html"]},"properties":{"js":{"type":["object","array","null"],"items":{"type":"string"},"description":"Array of language types, or an object containing types, extensions and filenames to associate","properties":{"type":{"type":"array","items":{"type":"string"},"description":"VS Code language name"},"ext":{"type":"array","items":{"type":"string"},"description":"File extensions (without the leading dot)"},"filename":{"type":"array","items":{"type":"string"},"description":"Full filenames (eg: '.jsbeautifyrc')"}}},"css":{"type":["object","array","null"],"items":{"type":"string"},"description":"Array of language types, or an object containing types, extensions and filenames to associate","properties":{"type":{"type":"array","items":{"type":"string"},"description":"VS Code language name"},"ext":{"type":"array","items":{"type":"string"},"description":"File extensions (without the leading dot)"},"filename":{"type":"array","items":{"type":"string"},"description":"Full filenames (eg: '.jsbeautifyrc')"}}},"html":{"type":["object","array","null"],"items":{"type":"string"},"description":"Array of language types, or an object containing types, extensions and filenames to associate","properties":{"type":{"type":"array","items":{"type":"string"},"description":"VS Code language name"},"ext":{"type":"array","items":{"type":"string"},"description":"File extensions (without the leading dot)"},"filename":{"type":"array","items":{"type":"string"},"description":"Full filenames (eg: '.jsbeautifyrc')"}}}}}}},"keybindings":[{"when":"editorHasSelection && resourceLangId =~ /^less$|^scss$|^jade$|^pug$|^stylus$/","command":"compile-hero.compileSelected","key":"cmd+shift+s ctrl+shift+s","mac":"cmd+shift+s","win":"ctrl+shift+s"}],"menus":{"explorer/context":[{"when":"resourceLangId == html","command":"compile-hero.openInBrowser","group":"open-in-browser"},{"command":"compile-hero.compileFile","group":"navigation"},{"when":"editorHasSelection && resourceLangId =~ /^less$|^scss$|^jade$|^pug$|^stylus$/","command":"compile-hero.compileSelected","group":"navigation"}],"editor/context":[{"when":"resourceLangId == html","command":"compile-hero.openInBrowser","group":"open-in-browser"},{"command":"compile-hero.compileFile","group":"navigation"},{"when":"editorHasSelection && resourceLangId =~ /^less$|^scss$|^jade$|^pug$|^stylus$/","command":"compile-hero.compileSelected","group":"navigation"}],"editor/title/context":[{"when":"resourceLangId == html","command":"compile-hero.openInBrowser","group":"open-in-browser"},{"command":"compile-hero.compileFile","group":"navigation"},{"when":"editorHasSelection && resourceLangId =~ /^less$|^scss$|^jade$|^pug$|^stylus$/","command":"compile-hero.compileSelected","group":"navigation"}]}},"scripts":{"build":"npm run build:delete.vsix && npm run build:compile.hero && npm run build:beautify","vscode:prepublish":"yarn run compile","build:delete.vsix":"node publish d","build:compile.hero":"node publish c && vsce package","build:beautify":"node publish b && vsce package","compile":"tsc -p ./","watch":"tsc -watch -p ./","postinstall":"node ./node_modules/vscode/bin/install","test":"yarn run compile && node ./node_modules/vscode/bin/test"},"dependencies":{"@babel/core":"^7.7.0","@babel/preset-env":"^7.7.1","editorconfig":"^0.15.3","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-minify-css":"^1.2.4","gulp-rename":"^1.4.0","gulp-typescript":"^5.0.1","gulp-uglify":"^3.0.2","js-beautify":"^1.13.0","minimatch":"^3.0.4","pug":"^2.0.4","sass":"^1.26.10","less":"^3.12.2","typescript":"^3.3.1","stylus":"^0.54.8"},"devDependencies":{"vscode":"^1.1.28","@types/mocha":"^2.2.42","@types/node":"^10.12.21"}}
JavaScript
1
https://gitee.com/wscats/compile-hero.git
git@gitee.com:wscats/compile-hero.git
wscats
compile-hero
compile-hero
master

搜索帮助