modify the example node.js projects to use the es module type
This commit is contained in:
parent
92ab9966d5
commit
6452307d77
|
|
@ -36,6 +36,7 @@ cat >package.json <<'EOF'
|
|||
"description": "the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "hello-world.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -79,6 +80,7 @@ cat >package.json <<'EOF'
|
|||
"description": "use the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.example.com/use-hello-world.git"
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ Set-Content `
|
|||
"description": "the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "hello-world-win.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -109,6 +110,7 @@ Set-Content `
|
|||
"description": "use the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.example.com/use-hello-world-win.git"
|
||||
|
|
|
|||
Loading…
Reference in New Issue