mw-quick-start-frontend v3.36.0
Getting started
Run application
npm run serve-local
Code style and prettier integration
Code formatter https://prettier.io/ to unify code styling in project, primary settings for TypeScript files, but it can format and other files using best practices.
Prettier installed with npm package and to integrate with VS Code download and install https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode plugin, that will help to run formatting automatically by rules in prettier.config.js file.
After installation add to VS Code settings.json line:
"editor.formatOnSave": true,
"prettier.tslintIntegration": true,
That will enable auto formatting code with prettier on file save.
NPM Dependencies
- tslint-config-prettier
TeamCity
NPM Dependencies
- karma-teamcity-reporter
NPM Dependencies
- to-string-loader
Publish scripts
NPM Dependencies
- conventional - commits-parser
- chalk - Terminal string styling done right
- ftp - ftp client
- git-raw-commits - Get raw git commits out of your repository using git-log(1)
- md5-file - Get the MD5-sum of a given file, with low memory usage, even on huge files.
- yargs - Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface.
DEBUG
Node
If you want to attach the VS Code debugger to a Node.js program, launch Node.js in VS Code's integrated terminal as follows:
node --inspect program.js
or if the program should not start running but must wait for the debugger to attach:
node --inspect-brk program.js
Now you have three options for attaching the debugger to your program:
- have VS Code automatically attach to the program, or
- open a "process picker" that lists all potential candidate processes and let you pick one, or
- create an "attach" configuration that explicitly specifies all configuration options and then press F5
1 month ago