Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amir-arad/typescript-boilerplate-library
Generic project boilerplate for TypeScript libraries
https://github.com/amir-arad/typescript-boilerplate-library
Last synced: 4 days ago
JSON representation
Generic project boilerplate for TypeScript libraries
- Host: GitHub
- URL: https://github.com/amir-arad/typescript-boilerplate-library
- Owner: amir-arad
- License: mit
- Created: 2020-05-08T09:03:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T16:19:45.000Z (over 2 years ago)
- Last Synced: 2024-10-20T07:45:24.617Z (29 days ago)
- Language: TypeScript
- Homepage:
- Size: 261 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template Typescript library
A library template project
## what's inside
- code written in typescript
- testing done with [Tape](https://www.npmjs.com/package/tape). consider switching to [tape-promise](https://www.npmjs.com/package/tape-promise) for async tests.
- test files are inside the src library
- prettier and eslint
- circleci setup for automatic testing
## Developer instructions
### Installing workspace
to install a development environment, you need to have node.js git installd.
Then, `git clone` this repo locally and run:
```
$ npm install
$ npm test
```
and that's it, you've just installed the development environment!This project is written with [VSCode](https://code.visualstudio.com/) in mind. specifically configured for these extensions: [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint), [esbenp.prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode). also recommended [CircleCI](https://marketplace.visualstudio.com/items?itemName=jvandyke.vscode-circleci)
### test
`npm run test`
execute all tests.
### clean
`npm run clean`
Removes any built code and any built executables.
### build
`npm run build`
Cleans, then builds the library.
Your built code will be in the `./dist/` directory.