更改 build 方案
32
README.md
@ -1,12 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
# 快捷命令 V3.0.0
|
# 快捷命令 V3.0.0
|
||||||
|
|
||||||
[](https://github.com/fofolee/uTools-quickcommand/stargazers) [](https://github.com/fofolee/uTools-quickcommand/network/members) [](https://github.com/fofolee/uTools-quickcommand/blob/master/LICENSE) [](https://github.com/fofolee/uTools-quickcommand/blob/master/src/helps/CHANGELOG.md) [](https://yuanliao.info/d/424) [](https://yuanliao.info/d/424)
|
[](https://github.com/fofolee/uTools-quickcommand/stargazers) [](https://github.com/fofolee/uTools-quickcommand/network/members) [](https://github.com/fofolee/uTools-quickcommand/blob/master/LICENSE) [](https://github.com/fofolee/uTools-quickcommand/blob/master/src/helps/CHANGELOG.md) [](https://yuanliao.info/d/424) [](https://yuanliao.info/d/424)
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
|
|
||||||
- 核心功能
|
- 核心功能
|
||||||
|
|
||||||
- 快速执行命令:如打开文件夹、软件、网址等
|
- 快速执行命令:如打开文件夹、软件、网址等
|
||||||
|
|
||||||
- 快速运行脚本:如批处理、shell、python 等
|
- 快速运行脚本:如批处理、shell、python 等
|
||||||
@ -14,6 +13,7 @@
|
|||||||
- 无需编写插件:实现需要使用 utools 的 api 或者带 UI 界面的功能
|
- 无需编写插件:实现需要使用 utools 的 api 或者带 UI 界面的功能
|
||||||
|
|
||||||
- 其他特色
|
- 其他特色
|
||||||
|
|
||||||
- 内置了执行 shell 命令、文本处理、文本替换、网址二维码等实用命令
|
- 内置了执行 shell 命令、文本处理、文本替换、网址二维码等实用命令
|
||||||
|
|
||||||
- 支持在插件内下载别人分享的命令
|
- 支持在插件内下载别人分享的命令
|
||||||
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
[目前实现的功能列表 >>](https://yuanliao.info/d/2962)
|
[目前实现的功能列表 >>](https://yuanliao.info/d/2962)
|
||||||
|
|
||||||
|
|
||||||
## 功能
|
## 功能
|
||||||
|
|
||||||
### 1.内置命令
|
### 1.内置命令
|
||||||
@ -66,10 +65,10 @@
|
|||||||
|
|
||||||
### 4.快捷面板
|
### 4.快捷面板
|
||||||
|
|
||||||
- 将某一个标签下的命令以面板形式展现
|
- 将某一个标签下的命令以面板形式展现
|
||||||
- 可实现网址导航面板、软件启动面板之类的功能
|
- 可实现网址导航面板、软件启动面板之类的功能
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### 进阶
|
#### 进阶
|
||||||
|
|
||||||
@ -95,7 +94,7 @@
|
|||||||
- quickcommand
|
- quickcommand
|
||||||
|
|
||||||
- 可以快速执行打开网址、软件、文件夹、模拟按键等高频动作的命令
|
- 可以快速执行打开网址、软件、文件夹、模拟按键等高频动作的命令
|
||||||
- 可使用nodejs、electron、uTools、quickcommand 的 api 来编写具有 UI 交互的脚本,详情查看插件内的文档
|
- 可使用 nodejs、electron、uTools、quickcommand 的 api 来编写具有 UI 交互的脚本,详情查看插件内的文档
|
||||||
|
|
||||||
- python、cmd、shell 、php 等环境
|
- python、cmd、shell 、php 等环境
|
||||||
|
|
||||||
@ -112,8 +111,8 @@
|
|||||||
|
|
||||||
全模式可用
|
全模式可用
|
||||||
|
|
||||||
- `{{isWin}}` 是否Window系统, 返回1或0
|
- `{{isWin}}` 是否 Window 系统, 返回 1 或 0
|
||||||
- `{{LocalId}}`本机唯一ID
|
- `{{LocalId}}`本机唯一 ID
|
||||||
- `{{BrowserUrl}}` 浏览器的当前链接
|
- `{{BrowserUrl}}` 浏览器的当前链接
|
||||||
- `{{ClipText}}` 获取剪贴板的文本
|
- `{{ClipText}}` 获取剪贴板的文本
|
||||||
- `{{SelectText}}` 获取选中的文本 (已弃用)
|
- `{{SelectText}}` 获取选中的文本 (已弃用)
|
||||||
@ -142,7 +141,7 @@
|
|||||||
|
|
||||||
- 隐藏并忽略输出
|
- 隐藏并忽略输出
|
||||||
- 显示纯文本输出 (不解析 html 内容)
|
- 显示纯文本输出 (不解析 html 内容)
|
||||||
- 显示html格式的输出 (可以进一步编写简单的 GUI 界面,参考内置动作`特殊符号大全`)
|
- 显示 html 格式的输出 (可以进一步编写简单的 GUI 界面,参考内置动作`特殊符号大全`)
|
||||||
- 复制到剪贴板
|
- 复制到剪贴板
|
||||||
- 发送到活动窗口(可实现发送常用短语之类的功能)
|
- 发送到活动窗口(可实现发送常用短语之类的功能)
|
||||||
- 发送到系统通知
|
- 发送到系统通知
|
||||||
@ -157,18 +156,19 @@
|
|||||||

|

|
||||||
|
|
||||||
## 编译安装
|
## 编译安装
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm i -g @quasar/cli
|
npm i -g @quasar/cli
|
||||||
cd uTools-quickcommand
|
cd uTools-quickcommand
|
||||||
npm i && cd plugin && npm i && cd ..
|
npm i && cd plugin && npm i && cd ..
|
||||||
# Mac && Linux
|
# 调试
|
||||||
./build.sh
|
quasar dev
|
||||||
# Windows
|
# 编译
|
||||||
build.bat
|
quasar build
|
||||||
```
|
```
|
||||||
然后在开发者工具里面,选择`uTools-quickcommand/dist/spa/plugin.json`后打包
|
|
||||||
|
|
||||||
## 插件发布页
|
## 插件发布页
|
||||||
|
|
||||||
https://yuanliao.info/d/424
|
https://yuanliao.info/d/424
|
||||||
|
|
||||||
## 关键字
|
## 关键字
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
@echo off
|
|
||||||
quasar build && powershell -Command "Copy-Item -Recurse -Force plugin/* dist/spa/" && echo Done.
|
|
2
build.sh
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
quasar build && cp -r plugin/* dist/spa/ && echo Done.
|
|
1
package-lock.json
generated
@ -23,6 +23,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/eslint-parser": "^7.13.14",
|
"@babel/eslint-parser": "^7.13.14",
|
||||||
"@quasar/app-webpack": "^3.0.0",
|
"@quasar/app-webpack": "^3.0.0",
|
||||||
|
"copy-webpack-plugin": "^10.2.4",
|
||||||
"eslint": "^8.10.0",
|
"eslint": "^8.10.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-vue": "^8.5.0",
|
"eslint-plugin-vue": "^8.5.0",
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/eslint-parser": "^7.13.14",
|
"@babel/eslint-parser": "^7.13.14",
|
||||||
"@quasar/app-webpack": "^3.0.0",
|
"@quasar/app-webpack": "^3.0.0",
|
||||||
|
"copy-webpack-plugin": "^10.2.4",
|
||||||
"eslint": "^8.10.0",
|
"eslint": "^8.10.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-vue": "^8.5.0",
|
"eslint-plugin-vue": "^8.5.0",
|
||||||
|
380
quasar.config.js
@ -11,231 +11,253 @@
|
|||||||
|
|
||||||
const ESLintPlugin = require('eslint-webpack-plugin')
|
const ESLintPlugin = require('eslint-webpack-plugin')
|
||||||
const MonacoEditorPlugin = require("monaco-editor-webpack-plugin");
|
const MonacoEditorPlugin = require("monaco-editor-webpack-plugin");
|
||||||
|
const CopyPlugin = require("copy-webpack-plugin");
|
||||||
|
|
||||||
const { configure } = require('quasar/wrappers');
|
const {
|
||||||
|
configure
|
||||||
|
} = require('quasar/wrappers');
|
||||||
|
|
||||||
module.exports = configure(function (ctx) {
|
module.exports = configure(function(ctx) {
|
||||||
return {
|
return {
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
|
// https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
|
||||||
supportTS: false,
|
supportTS: false,
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/prefetch-feature
|
// https://v2.quasar.dev/quasar-cli-webpack/prefetch-feature
|
||||||
// preFetch: true,
|
// preFetch: true,
|
||||||
|
|
||||||
// app boot file (/src/boot)
|
// app boot file (/src/boot)
|
||||||
// --> boot files are part of "main.js"
|
// --> boot files are part of "main.js"
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/boot-files
|
// https://v2.quasar.dev/quasar-cli-webpack/boot-files
|
||||||
boot: [
|
boot: [
|
||||||
'global.js'
|
'global.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-css
|
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-css
|
||||||
css: [
|
css: [
|
||||||
'app.css'
|
'app.css'
|
||||||
],
|
],
|
||||||
|
|
||||||
// https://github.com/quasarframework/quasar/tree/dev/extras
|
// https://github.com/quasarframework/quasar/tree/dev/extras
|
||||||
extras: [
|
extras: [
|
||||||
// 'ionicons-v4',
|
// 'ionicons-v4',
|
||||||
// 'mdi-v5',
|
// 'mdi-v5',
|
||||||
// 'fontawesome-v6',
|
// 'fontawesome-v6',
|
||||||
// 'eva-icons',
|
// 'eva-icons',
|
||||||
// 'themify',
|
// 'themify',
|
||||||
// 'line-awesome',
|
// 'line-awesome',
|
||||||
// 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
|
// 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
|
||||||
|
|
||||||
'roboto-font', // optional, you are not bound to it
|
'roboto-font', // optional, you are not bound to it
|
||||||
'material-icons', // optional, you are not bound to it
|
'material-icons', // optional, you are not bound to it
|
||||||
],
|
],
|
||||||
|
|
||||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-build
|
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-build
|
||||||
build: {
|
build: {
|
||||||
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
||||||
|
|
||||||
// transpile: false,
|
// transpile: false,
|
||||||
// publicPath: '/',
|
// publicPath: '/',
|
||||||
|
|
||||||
// Add dependencies for transpiling with Babel (Array of string/regex)
|
// Add dependencies for transpiling with Babel (Array of string/regex)
|
||||||
// (from node_modules, which are by default not transpiled).
|
// (from node_modules, which are by default not transpiled).
|
||||||
// Applies only if "transpile" is set to true.
|
// Applies only if "transpile" is set to true.
|
||||||
// transpileDependencies: [],
|
// transpileDependencies: [],
|
||||||
|
|
||||||
// rtl: true, // https://quasar.dev/options/rtl-support
|
// rtl: true, // https://quasar.dev/options/rtl-support
|
||||||
// preloadChunks: true,
|
// preloadChunks: true,
|
||||||
// showProgress: false,
|
// showProgress: false,
|
||||||
// gzip: true,
|
// gzip: true,
|
||||||
// analyze: true,
|
// analyze: true,
|
||||||
|
|
||||||
// Options below are automatically set depending on the env, set them if you want to override
|
// Options below are automatically set depending on the env, set them if you want to override
|
||||||
// extractCSS: false,
|
// extractCSS: false,
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/handling-webpack
|
// https://v2.quasar.dev/quasar-cli-webpack/handling-webpack
|
||||||
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
||||||
|
|
||||||
chainWebpack (chain) {
|
chainWebpack(chain) {
|
||||||
chain.plugin('eslint-webpack-plugin')
|
chain.plugin('eslint-webpack-plugin')
|
||||||
.use(ESLintPlugin, [{ extensions: [ 'js', 'vue' ] }])
|
.use(ESLintPlugin, [{
|
||||||
chain.plugin("monaco-editor-webpack-plugin")
|
extensions: ['js', 'vue']
|
||||||
.use(MonacoEditorPlugin);
|
}])
|
||||||
|
chain.plugin("monaco-editor-webpack-plugin")
|
||||||
|
.use(MonacoEditorPlugin);
|
||||||
|
chain.plugin("copy-webpack-plugin")
|
||||||
|
.use(CopyPlugin, [{
|
||||||
|
patterns: [{
|
||||||
|
from: './plugin/',
|
||||||
|
to: ".",
|
||||||
|
info: {
|
||||||
|
minimized: true
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
}]);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
|
|
||||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-devServer
|
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-devServer
|
||||||
devServer: {
|
devServer: {
|
||||||
server: {
|
server: {
|
||||||
type: 'http'
|
type: 'http'
|
||||||
},
|
},
|
||||||
port: 8080,
|
port: 8080,
|
||||||
open: true // opens browser window automatically
|
open: true // opens browser window automatically
|
||||||
},
|
},
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-framework
|
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-framework
|
||||||
framework: {
|
framework: {
|
||||||
config: {},
|
config: {},
|
||||||
|
|
||||||
// iconSet: 'material-icons', // Quasar icon set
|
// iconSet: 'material-icons', // Quasar icon set
|
||||||
// lang: 'en-US', // Quasar language pack
|
// lang: 'en-US', // Quasar language pack
|
||||||
|
|
||||||
// For special cases outside of where the auto-import strategy can have an impact
|
// For special cases outside of where the auto-import strategy can have an impact
|
||||||
// (like functional components as one of the examples),
|
// (like functional components as one of the examples),
|
||||||
// you can manually specify Quasar components/directives to be available everywhere:
|
// you can manually specify Quasar components/directives to be available everywhere:
|
||||||
//
|
//
|
||||||
// components: [],
|
// components: [],
|
||||||
// directives: [],
|
// directives: [],
|
||||||
|
|
||||||
// Quasar plugins
|
// Quasar plugins
|
||||||
plugins: ['Dialog', 'Notify']
|
plugins: ['Dialog', 'Notify']
|
||||||
},
|
},
|
||||||
|
|
||||||
// animations: 'all', // --- includes all animations
|
// animations: 'all', // --- includes all animations
|
||||||
// https://quasar.dev/options/animations
|
// https://quasar.dev/options/animations
|
||||||
animations: [],
|
animations: [],
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/developing-ssr/configuring-ssr
|
// https://v2.quasar.dev/quasar-cli-webpack/developing-ssr/configuring-ssr
|
||||||
ssr: {
|
ssr: {
|
||||||
pwa: false,
|
pwa: false,
|
||||||
|
|
||||||
// manualStoreHydration: true,
|
// manualStoreHydration: true,
|
||||||
// manualPostHydrationTrigger: true,
|
// manualPostHydrationTrigger: true,
|
||||||
|
|
||||||
prodPort: 3000, // The default port that the production server should use
|
prodPort: 3000, // The default port that the production server should use
|
||||||
// (gets superseded if process.env.PORT is specified at runtime)
|
// (gets superseded if process.env.PORT is specified at runtime)
|
||||||
|
|
||||||
maxAge: 1000 * 60 * 60 * 24 * 30,
|
maxAge: 1000 * 60 * 60 * 24 * 30,
|
||||||
// Tell browser when a file from the server should expire from cache (in ms)
|
// Tell browser when a file from the server should expire from cache (in ms)
|
||||||
|
|
||||||
|
|
||||||
chainWebpackWebserver (chain) {
|
chainWebpackWebserver(chain) {
|
||||||
chain.plugin('eslint-webpack-plugin')
|
chain.plugin('eslint-webpack-plugin')
|
||||||
.use(ESLintPlugin, [{ extensions: [ 'js' ] }])
|
.use(ESLintPlugin, [{
|
||||||
},
|
extensions: ['js']
|
||||||
|
}])
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
middlewares: [
|
middlewares: [
|
||||||
ctx.prod ? 'compression' : '',
|
ctx.prod ? 'compression' : '',
|
||||||
'render' // keep this as last one
|
'render' // keep this as last one
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
// https://v2.quasar.dev/quasar-cli-webpack/developing-pwa/configuring-pwa
|
// https://v2.quasar.dev/quasar-cli-webpack/developing-pwa/configuring-pwa
|
||||||
pwa: {
|
pwa: {
|
||||||
workboxPluginMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
|
workboxPluginMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
|
||||||
workboxOptions: {}, // only for GenerateSW
|
workboxOptions: {}, // only for GenerateSW
|
||||||
|
|
||||||
// for the custom service worker ONLY (/src-pwa/custom-service-worker.[js|ts])
|
// for the custom service worker ONLY (/src-pwa/custom-service-worker.[js|ts])
|
||||||
// if using workbox in InjectManifest mode
|
// if using workbox in InjectManifest mode
|
||||||
|
|
||||||
chainWebpackCustomSW (chain) {
|
chainWebpackCustomSW(chain) {
|
||||||
chain.plugin('eslint-webpack-plugin')
|
chain.plugin('eslint-webpack-plugin')
|
||||||
.use(ESLintPlugin, [{ extensions: [ 'js' ] }])
|
.use(ESLintPlugin, [{
|
||||||
},
|
extensions: ['js']
|
||||||
|
}])
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: `quickcommand`,
|
name: `quickcommand`,
|
||||||
short_name: `quickcommand`,
|
short_name: `quickcommand`,
|
||||||
description: `plugin for uTools`,
|
description: `plugin for uTools`,
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'portrait',
|
orientation: 'portrait',
|
||||||
background_color: '#ffffff',
|
background_color: '#ffffff',
|
||||||
theme_color: '#027be3',
|
theme_color: '#027be3',
|
||||||
icons: [
|
icons: [{
|
||||||
{
|
src: 'icons/icon-128x128.png',
|
||||||
src: 'icons/icon-128x128.png',
|
sizes: '128x128',
|
||||||
sizes: '128x128',
|
type: 'image/png'
|
||||||
type: 'image/png'
|
},
|
||||||
},
|
{
|
||||||
{
|
src: 'icons/icon-192x192.png',
|
||||||
src: 'icons/icon-192x192.png',
|
sizes: '192x192',
|
||||||
sizes: '192x192',
|
type: 'image/png'
|
||||||
type: 'image/png'
|
},
|
||||||
},
|
{
|
||||||
{
|
src: 'icons/icon-256x256.png',
|
||||||
src: 'icons/icon-256x256.png',
|
sizes: '256x256',
|
||||||
sizes: '256x256',
|
type: 'image/png'
|
||||||
type: 'image/png'
|
},
|
||||||
},
|
{
|
||||||
{
|
src: 'icons/icon-384x384.png',
|
||||||
src: 'icons/icon-384x384.png',
|
sizes: '384x384',
|
||||||
sizes: '384x384',
|
type: 'image/png'
|
||||||
type: 'image/png'
|
},
|
||||||
},
|
{
|
||||||
{
|
src: 'icons/icon-512x512.png',
|
||||||
src: 'icons/icon-512x512.png',
|
sizes: '512x512',
|
||||||
sizes: '512x512',
|
type: 'image/png'
|
||||||
type: 'image/png'
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
}
|
},
|
||||||
},
|
|
||||||
|
|
||||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-cordova-apps/configuring-cordova
|
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-cordova-apps/configuring-cordova
|
||||||
cordova: {
|
cordova: {
|
||||||
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
||||||
},
|
},
|
||||||
|
|
||||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-capacitor-apps/configuring-capacitor
|
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-capacitor-apps/configuring-capacitor
|
||||||
capacitor: {
|
capacitor: {
|
||||||
hideSplashscreen: true
|
hideSplashscreen: true
|
||||||
},
|
},
|
||||||
|
|
||||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-electron-apps/configuring-electron
|
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-electron-apps/configuring-electron
|
||||||
electron: {
|
electron: {
|
||||||
bundler: 'packager', // 'packager' or 'builder'
|
bundler: 'packager', // 'packager' or 'builder'
|
||||||
|
|
||||||
packager: {
|
packager: {
|
||||||
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
|
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
|
||||||
|
|
||||||
// OS X / Mac App Store
|
// OS X / Mac App Store
|
||||||
// appBundleId: '',
|
// appBundleId: '',
|
||||||
// appCategoryType: '',
|
// appCategoryType: '',
|
||||||
// osxSign: '',
|
// osxSign: '',
|
||||||
// protocol: 'myapp://path',
|
// protocol: 'myapp://path',
|
||||||
|
|
||||||
// Windows only
|
// Windows only
|
||||||
// win32metadata: { ... }
|
// win32metadata: { ... }
|
||||||
},
|
},
|
||||||
|
|
||||||
builder: {
|
builder: {
|
||||||
// https://www.electron.build/configuration/configuration
|
// https://www.electron.build/configuration/configuration
|
||||||
|
|
||||||
appId: 'quickcommand'
|
appId: 'quickcommand'
|
||||||
},
|
},
|
||||||
|
|
||||||
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
||||||
|
|
||||||
chainWebpackMain (chain) {
|
chainWebpackMain(chain) {
|
||||||
chain.plugin('eslint-webpack-plugin')
|
chain.plugin('eslint-webpack-plugin')
|
||||||
.use(ESLintPlugin, [{ extensions: [ 'js' ] }])
|
.use(ESLintPlugin, [{
|
||||||
},
|
extensions: ['js']
|
||||||
|
}])
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
chainWebpackPreload (chain) {
|
chainWebpackPreload(chain) {
|
||||||
chain.plugin('eslint-webpack-plugin')
|
chain.plugin('eslint-webpack-plugin')
|
||||||
.use(ESLintPlugin, [{ extensions: [ 'js' ] }])
|
.use(ESLintPlugin, [{
|
||||||
},
|
extensions: ['js']
|
||||||
|
}])
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
|
Before Width: | Height: | Size: 826 B |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 4.9 KiB |