@@ -0,0 +1,15 @@
+module.exports = {
+ win: {
+ script: 'npm run build',
+ host: '192.168.1.76',
+ port: 22,
+ username: 'zongheng',
+ password: 'SmartCost#*%)888',
+ localPath: 'dist',
+ remotePath: '/mnt/html/cld2/console',
+ needEmail: false,
+ addressee: '',
+ title: '',
+ content: ''
+ }
+}
@@ -94,6 +94,8 @@
"enzyme": "^3.11.0",
"eslint": "^7.1.0",
"eslint-plugin-javascript": "^1.3.4",
+ "eslint-plugin-jsx": "^0.1.0",
+ "eslint-plugin-typescript": "^0.14.0",
"express": "^4.17.1",
"gh-pages": "^3.0.0",
"jsdom-global": "^3.0.2",
@@ -0,0 +1,9 @@
+// @ts-ignore
+/* eslint-disable */
+
+declare namespace API {
+ type User = {
+ username: string
+ account: string