https://github.com/fourkitchens/computer-science
Repository containing coding exercises around algorithms, data structures, and computer science.
https://github.com/fourkitchens/computer-science
Last synced: 11 months ago
JSON representation
Repository containing coding exercises around algorithms, data structures, and computer science.
- Host: GitHub
- URL: https://github.com/fourkitchens/computer-science
- Owner: fourkitchens
- License: mit
- Created: 2021-03-18T16:42:41.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-05T17:29:55.000Z (almost 5 years ago)
- Last Synced: 2025-03-03T22:37:48.930Z (over 1 year ago)
- Language: TypeScript
- Size: 155 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# computer-science
Repository containing coding exercises around algorithms, data structures, and computer science.
## Development
### Setup
- Install the version of node as specified in this project's `.nvmrc` file. If you are using nvm, simply run `nvm use`.
- Clone this repository into a directory of your choosing.
- In the directory, run `npm install`.
### Scripts
- `npm run build`: builds the project based on the configuration in `tsconfig.dist.json`.
- `npm run watch`: watches the codebase, and re-compiles every time a change is made.
- `npm run format`: uses prettier to format all relevant files within the codebase.
- `npm run lint`: uses eslint to lint the codebase.
- `npm run test`: runs Jest on the codebase. You can specify a path to a single test, and add any flags supported by Jest's CLI.
- `npm run type`: uses typescript to check all type signatures.
- `npm run twatch`: runs Jest without coverage, in verbose and watch mode. This is useful for running a single test during active development.