Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SocketSomeone/typescript-open-source-template

📜 My template for creating TypeScript Open Source projects
https://github.com/SocketSomeone/typescript-open-source-template

npm open-source template typescript

Last synced: 2 months ago
JSON representation

📜 My template for creating TypeScript Open Source projects

Awesome Lists containing this project

README

        

# typescript-open-source-template

This is a template for creating a new open source project in TypeScript.

## Features
* [TypeScript](https://www.typescriptlang.org/)
* [Jest](https://jestjs.io/)
* [ESLint](https://eslint.org/)
* [Prettier](https://prettier.io/)
* GitHub Actions
* [Dependabot](https://dependabot.com/)
* Semantic Release
* Commitizen
* Commitlint
* [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
* [Semantic Versioning](https://semver.org/)

## Usage
1. Click the "Use this template" button to create a new repository from this template.
2. Clone the new repository to your local machine.
3. Run `npm install` to install dependencies.
4. Replace name, description, and other fields in `package.json` with your own.
5. Replace the contents of this file with your own.
6. Replace name of package at github actions workflow file

## Scripts
* `npm run build` - Compile TypeScript to JavaScript.
* `npm run lint` - Lint TypeScript files.
* `npm run test` - Run tests.
* `npm run publish:npm` - Publish package to npm.
* `npm run publish:dev` - Publish package to npm with `dev` tag.