You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Borys H.N edited this page Dec 6, 2016
·
5 revisions
frontend dev
builds
using gradle
$ gradle clean build check
using npm
$ npm install && npm run build && npm run test && npm run test
dev
unit tests with karma and jasmine
- unit tests should be added to `frontend/src/app/**/*`
- spec files `*.spec.ts` should be added along side their corresponding `*.ts` files
- i.e. app.component.ts => app.spec.ts
adding frontend dependencies
update frontend/package.json
add necessary dependencies
update frontend/src/vendor.ts or frontend/src/polyfills.ts
in some cases (like bootstrap-loader) in may be beneficial to instead add an entry point within frontend/config/webpack.dev.js