Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Notizen

Angular application scaffolding

James Drummond Application, build, testing and deployment A-Level Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

1. Install HTML / Bootstrap boilerplate.

2. Use 'npm init' to create package.json

3. npm install bower -g

4. Bower init to set up bower.json

5. *** There are two ways of installing client side dependencies with Bower ***:

- Bower install --save bootstrap . Installs bootstrap and jquery as project dependencies. (Saved in 'dependency' object of bower.json).

- Bower install --save-dev angular-mocks. Installs module as development dependency. (Saved in 'devdependency' object of bower.json)

6. npm install grunt --save-dev

7. Create Gruntfile.js, see: http://gruntjs.com/sample-gruntfile

- You will need to npm install --save-dev the various grunt plugins

9. Install the karma npm package as well the karma cli package.

- Install karma-jasmine plugin

- Install karma phantomjs plugin

- You can then run karma init to set up the karma.conf.json file.

- Remember you need to install angular-mocks, etc. in order to run angular in a test environment.

Informationen

Beschreibung
A-Level Application, build, testing and deployment Notiz am Angular application scaffolding, erstellt von James Drummond am 24/04/2015.
Erstellt von
James Drummond · Apr 2015
Aktualisiert
18 Aug 2017
Aufrufe
65
Tags
angularjavascriptgrunt
Bewertung

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?