refactor(create-mcfly): distribute .js instead of .mjs
This commit is contained in:
parent
fca0f9f342
commit
3c56af6223
3 changed files with 6 additions and 10 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -3168,14 +3168,14 @@
|
|||
}
|
||||
},
|
||||
"packages/create-mcfly": {
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"consola": "^3.2.3",
|
||||
"giget": "^1.1.3"
|
||||
},
|
||||
"bin": {
|
||||
"create-mcfly": "index.mjs"
|
||||
"create-mcfly": "index.js"
|
||||
}
|
||||
},
|
||||
"site": {
|
||||
|
|
|
@ -1,19 +1,15 @@
|
|||
{
|
||||
"name": "create-mcfly",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"description": "Create a new McFly app",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"create-mcfly": "./index.mjs"
|
||||
"create-mcfly": "./index.js"
|
||||
},
|
||||
"main": "index.mjs",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.mjs"
|
||||
".": "./index.js"
|
||||
},
|
||||
"files": [
|
||||
"index.mjs",
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue