PSheon / Leetcode

Play Leetcode with Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode playground

TypeScript version Node.js version APLv2 Build Status - GitHub Actions

🏃🏽 Instant Value: All basic tools included and configured:

  • TypeScript 4.8
  • ESM
  • ESLint with some initial rules recommendation
  • Jest for fast unit testing and code coverage
  • Type definitions for Node.js and Jest
  • Prettier to enforce consistent code style
  • NPM scripts for common operations
  • EditorConfig for consistent coding style
  • Reproducible environments thanks to Volta
  • Example configuration for GitHub Actions
  • Simple example of TypeScript code and unit test

🤲 Free as in speech: available under the APLv2 license.

Available Scripts

  • clean - remove coverage data, Jest cache and transpiled files,
  • prebuild - lint source files and tests before building,
  • build - transpile TypeScript to ES6,
  • build:watch - interactive watch mode to automatically transpile source files,
  • lint - lint source files and tests,
  • prettier - reformat files,
  • test - run tests,
  • test:watch - interactive watch mode to automatically re-run tests

License

Licensed under the APLv2. See the LICENSE file for details.

About

Play Leetcode with Typescript

License:Apache License 2.0


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%