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": {
|
"packages/create-mcfly": {
|
||||||
"version": "0.3.2",
|
"version": "0.3.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"giget": "^1.1.3"
|
"giget": "^1.1.3"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"create-mcfly": "index.mjs"
|
"create-mcfly": "index.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"site": {
|
"site": {
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "create-mcfly",
|
"name": "create-mcfly",
|
||||||
"version": "0.3.2",
|
"version": "0.3.3",
|
||||||
"description": "Create a new McFly app",
|
"description": "Create a new McFly app",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
"create-mcfly": "./index.mjs"
|
"create-mcfly": "./index.js"
|
||||||
},
|
},
|
||||||
"main": "index.mjs",
|
"main": "index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./index.mjs"
|
".": "./index.js"
|
||||||
},
|
},
|
||||||
"files": [
|
|
||||||
"index.mjs",
|
|
||||||
"LICENSE"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue