mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: cloudcmd: lint
This commit is contained in:
parent
bdddc5752d
commit
8e25a02568
4 changed files with 9 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
|||
'watch:test:server': async () => `nodemon -w client -w test/client -x ${await run('test:server')}`,
|
||||
'watch:coverage': async () => [testEnv, `nodemon -w server -w test -w common -x ${await cutEnv('coverage')}`],
|
||||
'build': async () => run('6to5:*'),
|
||||
'build:dev': async () => run('build:client:dev'),
|
||||
'build:client': () => run('6to5:client'),
|
||||
'build:client:dev': () => run('6to5:client:dev'),
|
||||
'heroku-postbuild': () => run('6to5:client'),
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"app.json",
|
||||
"fontello.json"
|
||||
],
|
||||
"rules": {
|
||||
"webpack/apply-externals": "off"
|
||||
},
|
||||
"match": {
|
||||
"base64": {
|
||||
"convert-typeof-to-is-type": "off"
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ module.exports = {
|
|||
},
|
||||
};
|
||||
|
||||
function externals({request}, fn) {
|
||||
function externals(context, request, fn) {
|
||||
if (!isDev)
|
||||
return fn();
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
"build:start:dev": "madrun build:start:dev",
|
||||
"lint:all": "madrun lint:all",
|
||||
"lint": "madrun lint",
|
||||
"lint:progress": "madrun lint:progress",
|
||||
"watch:lint": "madrun watch:lint",
|
||||
"fresh:lint": "madrun fresh:lint",
|
||||
"lint:fresh": "madrun lint:fresh",
|
||||
|
|
@ -65,6 +66,8 @@
|
|||
"6to5": "madrun 6to5",
|
||||
"6to5:client": "madrun 6to5:client",
|
||||
"6to5:client:dev": "madrun 6to5:client:dev",
|
||||
"pre6to5:client": "madrun pre6to5:client",
|
||||
"pre6to5:client:dev": "madrun pre6to5:client:dev",
|
||||
"watch:client": "madrun watch:client",
|
||||
"watch:client:dev": "madrun watch:client:dev",
|
||||
"watch:server": "madrun watch:server",
|
||||
|
|
@ -73,6 +76,7 @@
|
|||
"watch:test:server": "madrun watch:test:server",
|
||||
"watch:coverage": "madrun watch:coverage",
|
||||
"build": "madrun build",
|
||||
"build:dev": "madrun build:dev",
|
||||
"build:client": "madrun build:client",
|
||||
"build:client:dev": "madrun build:client:dev",
|
||||
"heroku-postbuild": "madrun heroku-postbuild"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue