This repository contains the source code of my personal blog.
- Install the required packages using
npm install
- Build the application using
npm run build
. - Start the application using
npm start
. The application will be available at http://0.0.0.0:8080.
npm run build
: Statically generate the pages into thedocs
directory.npm run clean
: Removes thebuild
and thedocs
directories.npm run compile
: Bundles the static generator into thebuild
directory.npm run lint
: Lint the source files in thesrc
directory.npm run lint -- --fix
: Automatically fix the lint errors of the source files in thesrc
directory.npm start
: Starts a server serving thedocs
directory at http://0.0.0.0:8080.npm test
: Runs the unit tests and generates the code coverage.npm run typings
: Type check the source files in thesrc
directory.