Merge pull request #56 from striezel-stash/fix-typo

chore: fix some typos
diff --git a/common/buildCode.js b/common/buildCode.js
index 852113b..43a5b70 100644
--- a/common/buildCode.js
+++ b/common/buildCode.js
@@ -409,7 +409,7 @@
   }
 
   if (minimal && !esm) {
-    // Only legacy mode can be used when use require in mimimal bundle.
+    // Only legacy mode can be used when use require in minimal bundle.
     legacy = true;
   }
 
diff --git a/e2e/main.js b/e2e/main.js
index cb8de9a..005966e 100644
--- a/e2e/main.js
+++ b/e2e/main.js
@@ -218,13 +218,13 @@
           console.error(`shell fail: npm install ${publishedPackages[depPkgName].targetTgzFilePath}`);
           process.exit(1);
         }
-        // After the npm install above, the package.json will be modifiedt to like:
+        // After the npm install above, the package.json will be modified to like:
         // "dependencies": ["zredner": "file:../echarts-examples/e2e/tmp/packages/zrender-5.3.2.tgz"]
         // which is a relative path and not correct if the tgz is copied to another place in
         // the latter process.
         // If we use --no-save, the latter npm install by tgz may not use the version of zrender that
         // config.js specified.
-        // So we modifiy the version mandatorily to the version that config.js specified.
+        // So we modify the version mandatorily to the version that config.js specified.
         // In the latter npm install by tgz, the zrender will be installed firstly. And when echarts
         // is installing, it found the right version of zrender has been installed, and do not install
         // zrender separately.
diff --git a/src/editor/Preview.vue b/src/editor/Preview.vue
index 0202f9c..98398c9 100644
--- a/src/editor/Preview.vue
+++ b/src/editor/Preview.vue
@@ -519,7 +519,7 @@
         );
         this.allEChartsVersions = versions;
 
-        // Use lastest version
+        // Use latest version
         if (
           !store.echartsVersion ||
           store.echartsVersion === '5' ||
diff --git a/tool/build-example.js b/tool/build-example.js
index 2ce36dc..fa228c4 100644
--- a/tool/build-example.js
+++ b/tool/build-example.js
@@ -44,7 +44,7 @@
   help: 'Theme list, default to be all'
 });
 parser.addArgument(['-p', '--pattern'], {
-  help: 'Glob match patterns for generating thumb. https://github.com/isaacs/minimatch Mutiple match pattens can be splitted with ,'
+  help: 'Glob match patterns for generating thumb. https://github.com/isaacs/minimatch Multiple match pattens can be split with ,'
 });
 parser.addArgument(['--no-thumb'], {
   help: 'If not generate thumbs',
@@ -312,7 +312,7 @@
           .map((a) => a.trim())
           .filter((a) => !!a);
         if (!exampleList.find((item) => item.id === basename)) {
-          // Avoid add mulitple times when has multiple themes.
+          // Avoid add multiple times when has multiple themes.
           exampleList.push({
             category: category,
             id: basename,