Set up module support

main
kst 2024-04-13 21:20:59 +02:00
parent 57d0dc7ede
commit 13570e5067
2 changed files with 6 additions and 1 deletions

View File

@ -2,8 +2,10 @@
"name": "atbot-matrix",
"version": "1.0.0",
"description": "Checkinator bot for matrix",
"main": "index.js",
"main": "src/index.js",
"type": "module",
"scripts": {
"start": "node src/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "kst",

3
src/index.js Normal file
View File

@ -0,0 +1,3 @@
import args from 'args';
console.log('test');