build: rename bundle command to build command (#121)

This commit is contained in:
Alfi Maulana 2023-12-12 13:10:31 +07:00 committed by GitHub
parent 19dbdac998
commit ebeda19c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -29,5 +29,5 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: yarn install run: yarn install
- name: Bundle Package - name: Build Package
run: yarn bundle && git diff --exit-code HEAD run: yarn build && git diff --exit-code HEAD

View File

@ -3,7 +3,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"bundle": "tsc && ncc build dist/main.mjs -o main", "build": "tsc && ncc build dist/main.mjs -o main",
"format": "prettier --write . !main !README.md", "format": "prettier --write . !main !README.md",
"lint": "eslint --ignore-path .gitignore .", "lint": "eslint --ignore-path .gitignore .",
"test": "tsc && jest" "test": "tsc && jest"