This is a template project for front-end development such as websites and landing pages.
You can use below languages:
- pug
- scss
- TypeScript
First, you have to install packages from npm.
$ npm install
And then, type below command and launch your local server.
$ npm run start
You can create files for production.
$ npm run release
You can validate TypeScript files and html files in /app/dist/
directory.
$ npm run validate
You can run jest for the files in /test/
directory.
$ npm run test
You can create the report for checking test coverage.
$ npm run test:coverage
You can copy files from under /app/src/static/
to /app/dist/
directory with keeping the directory structure.
version | |
---|---|
node.js | v16.16.0 |
npm | v8.11.0 |