A naive blockchain implementation in TypeScript.
$ git clone https://github.com/FallenDeity/CryptoBytes.git
$ cd CryptoBytes
$ npm install
$ npm run build
Internally calls for webpack to build the project.
$ npm run test
Internally calls for mocha to run the tests.
$ npm run build-and-run
Internally calls for webpack to build the project and then runs the built project.
npm run lint
- Runs eslint on the project.npm run lint:fix
- Runs eslint on the project and fixes the errors.npm run prettier
- Runs prettier on the project.npm run prettier:fix
- Runs prettier on the project and fixes the errors.
Note
Few more commands are available inpackage.json
underscripts
section.