Ensure you have node/npm installed.
- Run
npm installin the root directory of this repository
- Run
npm start| This command will:- compile Sass (.scss) into CSS (.css)
- compile TypeScript into a JavaScript bundle
- serve the site using http-server at: http://localhost:4200/
May need to use gitbash to run this ^ command due to 'cp' usage
- Run
npm testto watch all tests - Run
npm run test-onceto run all tests once - Run
npm run lintto check for linting errors
- Quick scaffolding tsbase-snipeets
- Html highlighting in component files es6-string-html
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:4200/",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach Karma Chrome",
"address": "localhost",
"port": 9333,
"pathMapping": {
"/": "${workspaceRoot}",
"/base/": "${workspaceRoot}/"
}
}
]
}Without Pre-render
npm run copy-static-filesnpm run buildnpm run package- Windows Build in
bin