build: adjust source files structures (#136)

* build(typescript): disable from generating source map

* build(typescript): disable from generating declaration file

* build(typescript): modify source files to be compiled to the same dir

* build(typescript): modify distribution files to be generated to `dist` directory

* refactor: rename main entrypoint from `main` to `index`

* chore(git): specify attribute for `dist` directory instead of just `dist/index.mjs`
This commit is contained in:
Alfi Maulana
2023-12-14 18:20:50 +07:00
committed by GitHub
parent 0a416228af
commit 65845a480e
11 changed files with 14 additions and 19 deletions

View File

@@ -3,9 +3,6 @@
"exactOptionalPropertyTypes": true,
"strict": true,
"module": "node16",
"declaration": true,
"outDir": "dist",
"sourceMap": true,
"target": "es2022",
"skipLibCheck": true
},