-
Notifications
You must be signed in to change notification settings - Fork 221
frontend dev
Borys H.N edited this page Dec 6, 2016
·
5 revisions
- using gradle
$ gradle clean build check
- using npm
$ npm install && npm run build && npm run test && npm run test
- 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
- update
frontend/package.json
- add necessary dependencies
- update
frontend/src/vendor.ts
orfrontend/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
- in some cases (like bootstrap-loader) in may be beneficial to instead add an entry point within
$ npm i @types/jasmine --save
- update tsconfig.json