mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 03:50:55 +00:00
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:
@@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc && ncc build dist/main.mjs -o main",
|
||||
"format": "prettier --write . !main !README.md",
|
||||
"build": "tsc && ncc build src/index.mjs -o dist",
|
||||
"format": "prettier --write . !dist !README.md",
|
||||
"lint": "eslint --ignore-path .gitignore .",
|
||||
"test": "tsc && jest"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user