31 lines
549 B
Plaintext
31 lines
549 B
Plaintext
## {{npmName}}@{{npmVersion}}
|
|
|
|
This generator creates TypeScript/JavaScript client that utilizes {{framework}}.
|
|
|
|
### Building
|
|
|
|
To build and compile the typescript sources to javascript use:
|
|
```
|
|
npm install
|
|
npm run build
|
|
```
|
|
|
|
### Publishing
|
|
|
|
First build the package then run ```npm publish```
|
|
|
|
### Consuming
|
|
|
|
navigate to the folder of your consuming project and run one of the following commands.
|
|
|
|
_published:_
|
|
|
|
```
|
|
npm install {{npmName}}@{{npmVersion}} --save
|
|
```
|
|
|
|
_unPublished (not recommended):_
|
|
|
|
```
|
|
npm install PATH_TO_GENERATED_PACKAGE --save
|