Skip to content

Commit

Permalink
Add @vercel/ncc package and create 'package' script
Browse files Browse the repository at this point in the history
The @vercel/ncc package was added to the dependencies in package.json and package-lock.json. This package will be used to compile Node.js applications into a single file. Along with the addition of this package, a 'package' script has been added to the scripts section of package.json to facilitate the bundling of the application.

Took 10 minutes
  • Loading branch information
erikyo committed Dec 11, 2023
1 parent 40e3b55 commit 0d702eb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"package": "ncc build src/index.ts --source-map --license licenses.txt",
"lint": "eslint src --fix",
"tsdoc": "npx typedoc src/*"
},
Expand Down Expand Up @@ -42,6 +43,7 @@
"@types/node": "^18.19.3",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.55.0",
"typescript": "^5.3.3"
}
Expand Down

0 comments on commit 0d702eb

Please sign in to comment.