1.1.2 • Published 8 years ago

generator-magic v1.1.2

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
8 years ago

Magic

Screenshot

Description

This generator will quick-start a Typescript project for you. It uses the SystemJS module system and manages dependencies with jspm. The project will have Karma and Jasmine available for unit testing. The whole list of contents included is at the bottom of this README.

Installation

Before installing this generator you need to have installed globally Yeoman, jspm and typings. If that's not the case, install them with npm: npm install -g yo jspm typings. You will need at least Node.js v4.0.0 to run the generator.

  • To install the generator, run npm install -g generator-magic.

  • To run it, use the command yo magic in the folder where you want to create your project.

The generator will try to install the dependencies for you running npm install, jspm install and typings install after the project has been created. If you want to skip this step, run the generator with the --skip-install option: yo magic --skip-install.

Usage

Once the project has been created, you can serve it in the browser with gulp serve, build it to the dist folder with gulp build and run the tests with gulp test.

There is a tdd mode that both serves the project and starts karma in watch mode, you can start it with gulp tdd. The different available commands will be detailed in the created projct's README.

Contents

The created project includes the following tools and libraries:

If you choose to install Angular.js, it will include this too:

1.1.2

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.0

10 years ago