mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) drop support of node < 14
This commit is contained in:
parent
30173e2a5c
commit
00a7575c99
3 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
parser: 'babel-eslint',
|
||||
extends: [
|
||||
'plugin:putout/recommended',
|
||||
],
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ async function main() {
|
|||
if (args['show-config'])
|
||||
showConfig();
|
||||
|
||||
const distribute = require('../server/distribute');
|
||||
const {default: distribute} = await import('../server/distribute/index.js');
|
||||
const importConfig = promisify(distribute.import);
|
||||
|
||||
await importConfig(config)
|
||||
|
|
|
|||
|
|
@ -171,6 +171,7 @@
|
|||
"@cloudcmd/olark": "^3.0.0",
|
||||
"@cloudcmd/stub": "^2.0.0",
|
||||
"auto-globals": "^1.7.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-loader": "^8.0.0",
|
||||
"babel-plugin-macros": "^2.2.1",
|
||||
"clean-css-loader": "^2.0.0",
|
||||
|
|
@ -223,7 +224,7 @@
|
|||
"yaspeller": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
"node": ">=14"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "server/cloudcmd.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue