mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
feat: convert to Node.js compatible ES Module
This commit is contained in:
parent
730aac8da2
commit
d9212b4dac
94 changed files with 429 additions and 466 deletions
|
@ -22,7 +22,7 @@
|
|||
"url": "https://github.com/yume-chan/ya-webadb/issues"
|
||||
},
|
||||
"type": "module",
|
||||
"module": "esm/index.js",
|
||||
"main": "esm/index.js",
|
||||
"types": "esm/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "build-ts-package",
|
||||
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"jest": "^26.6.3",
|
||||
"typescript": "^4.6.2",
|
||||
"typescript": "next",
|
||||
"@yume-chan/ts-package-builder": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export * from './backend';
|
||||
export { AdbWebUsbBackend as default } from './backend';
|
||||
export * from './watcher';
|
||||
export * from './backend.js';
|
||||
export { AdbWebUsbBackend as default } from './backend.js';
|
||||
export * from './watcher.js';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue