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

3
.gitignore vendored
View File

@@ -5,5 +5,6 @@
build/
coverage/
dist/
node_modules/
src/*.mjs