https://github.com/curium-rocks/ncc-template
A template respository for creating a project that uses typescript and vercel ncc
https://github.com/curium-rocks/ncc-template
ncc nodejs template-repository typescript
Last synced: 3 months ago
JSON representation
A template respository for creating a project that uses typescript and vercel ncc
- Host: GitHub
- URL: https://github.com/curium-rocks/ncc-template
- Owner: curium-rocks
- Created: 2022-10-27T22:52:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T08:03:40.000Z (7 months ago)
- Last Synced: 2024-10-29T09:21:18.964Z (7 months ago)
- Topics: ncc, nodejs, template-repository, typescript
- Language: TypeScript
- Homepage:
- Size: 985 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NCC-Template
[](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template) [](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template) [](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template) [](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template) [](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template) [](https://sonarcloud.io/summary/new_code?id=curium-rocks_ncc-template)This a template repository for spinning up a new project using ncc. It uses eslint with the standard profile, jest, and sonarcloud.
## How to build
You can use `npm run build` to compile the typescript down to one js file (dist/index.js), this file can be uploaded for use in serverless functions or other environments by directly calling with Node.JS using `node path/to/index.js`## How to test
You can run the tests with `npm test`.## Code formatting
You can check if the code meets formatting standards with `npm run lint` if there are any violations you may be able to fix them automatically with `npm run lint:fix`.