Skip to content

Commit 119c32f

Browse files
committed
set package type to module
1 parent 0de9e3d commit 119c32f

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"author": "Arif Hossain",
10-
"license": "MIT"
10+
"license": "MIT",
11+
"type": "module",
12+
"dependencies": {
13+
"sql-to-nosql": "^0.0.1"
14+
}
1115
}

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const greetings = () => {
2-
console.log('Hi 👋, I can run SQL commands on your Mongodb database! 😁')
3-
}
1+
import { greetings } from "sql-to-nosql";
2+
3+
greetings()

0 commit comments

Comments
 (0)