1.1.2 • Published 8 years ago

generator-umd-module-typescript v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Quick start

First, install Yeoman and generator-umd-module-typescript using npm (assuming you already have node.js pre-installed).

$ npm install -g yo
$ npm install -g generator-umd-module-typescript

make a new directory and cd into it:

$ mkdir awesome-module
$ cd awesome-module

and generate your new module:

$ yo umd-module-typescript

The generator will prompt you for:

? Your full name: mizne
? Your email address: w20054319@126.com
? Git repository url: https://github.com/mizne/awesome-module
? Your library name (kebab case): awesome-module

and create the following files for you:

.
├── README.MD
├── package.json
├── src
│   ├── index.ts
│   ├── core
        ├── awesome.ts
├── .gitignore
├── tsconfig.json
└── tslint.json
└── webpack.config.js

You can then add or edit *.ts files in the src/ directory and run:

$ npm run build
$ npm run test

Finally you publish your library to NPM:

$ npm publish
1.1.2

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago