-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable btns after monaco editor loaded (#10)
* feat: enable btns after monaco loaded * perf: reduce bundle size * chore: move favicon to assets
- Loading branch information
Showing
17 changed files
with
510 additions
and
423 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
{ | ||
"name": "typescript-tutorial-exercises", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"author": { | ||
"name": "ZLY201", | ||
"email": "[email protected]" | ||
|
@@ -11,8 +10,8 @@ | |
"reset": "rm -rf node_modules", | ||
"setup": "yarn reset && yarn", | ||
"clean": "rm -rf dist", | ||
"dev": "rspack serve --watch --env development", | ||
"build": "yarn clean && rspack build --env production", | ||
"dev": "rspack serve --watch --mode=development", | ||
"build": "yarn clean && rspack build --mode=production", | ||
"lint": "eslint --fix --color --cache --quiet .", | ||
"prepare": "husky install" | ||
}, | ||
|
@@ -29,6 +28,7 @@ | |
"not dead", | ||
"not op_mini all" | ||
], | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@arco-design/theme-line": "^0.0.3", | ||
"@arco-design/web-react": "^2.53.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
declare module 'event-emitter' { | ||
declare namespace ee { | ||
interface Emitter< | ||
const T extends Record<string, (...args: any[]) => void>, | ||
const K extends keyof T = keyof T, | ||
> { | ||
emit: (type: K, ...args: Parameters<T[K]>) => void; | ||
off: (type: K, listener: T[K]) => void; | ||
on: (type: K, listener: T[K]) => void; | ||
once: (type: K, listener: T[K]) => void; | ||
} | ||
} | ||
declare function ee<T>(): ee.Emitter<T>; | ||
|
||
export = ee; | ||
} |
Oops, something went wrong.