Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavel-durov/socket.io.poc
socket.io poc
https://github.com/pavel-durov/socket.io.poc
Last synced: about 1 month ago
JSON representation
socket.io poc
- Host: GitHub
- URL: https://github.com/pavel-durov/socket.io.poc
- Owner: Pavel-Durov
- License: mit
- Created: 2023-11-15T10:09:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-15T10:10:00.000Z (about 1 year ago)
- Last Synced: 2024-12-06T21:32:50.663Z (about 1 month ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript Template
## Getting started
```shell
$ npm install
```## Run
```shell
$ tsx src/index.ts
```## Build
```shell
$ npm run build
```## Test
```shell
$ npm run test
```## Lint
```shell
$ npm run lint # lint check
$ npm run lint:fix # lint write
```## Git hooks
### Tests
```shell
npx husky add .husky/pre-commit "npm test"
npx husky add .husky/pre-commit "npm run lint"
git add .husky/pre-commit
```### Commit message
```shell
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'
npm pkg set scripts.commitlint="commitlint --edit"
npx husky add .husky/commit-msg 'npm run commitlint ${1}'
```