feat: convert to Node.js compatible ES Module

This commit is contained in:
Simon Chan 2022-03-15 16:53:07 +08:00
parent 730aac8da2
commit d9212b4dac
No known key found for this signature in database
GPG key ID: 8F75717685A974FB
94 changed files with 429 additions and 466 deletions

View file

@ -23,7 +23,7 @@
},
"license": "MIT",
"type": "module",
"module": "esm/index.js",
"main": "esm/index.js",
"types": "esm/index.d.ts",
"scripts": {
"build": "build-ts-package",
@ -31,7 +31,7 @@
"prepublishOnly": "npm run build"
},
"devDependencies": {
"typescript": "^4.6.2",
"typescript": "next",
"@types/jest": "^27.4.0",
"@yume-chan/ts-package-builder": "^1.0.0"
},