Skip to content

Commit

Permalink
change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedrahimi committed Sep 23, 2019
1 parent 3f582e4 commit 7daa804
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# C# models to TypeScript
# Generate Typescript form C# models

This is a tool that consumes your C# domain models and types and creates TypeScript declaration files from them. There's other tools that does this but what makes this one different is that it internally uses [Roslyn (the .NET compiler platform)](https://github.com/dotnet/roslyn) to parse the source files, which removes the need to create and maintain our own parser.

Expand All @@ -14,7 +14,7 @@ This is a tool that consumes your C# domain models and types and creates TypeScr
## Install

```
$ npm install --save csmodel-to-ts
$ npm install --save ts-from-csmodels
```

## How to use
Expand Down Expand Up @@ -49,7 +49,7 @@ $ npm install --save csmodel-to-ts

```
"scripts": {
"generate-types": "csmodel-to-ts --config=your-config-file.json"
"generate-types": "ts-from-csmodels --config=your-config-file.json"
},
```

Expand All @@ -60,5 +60,5 @@ $ npm install --save csmodel-to-ts

MIT © [Saeed Rahimi](https://github.com/saeedrahimi)

[npm-image]: https://img.shields.io/npm/v/csmodel-to-ts.svg
[npm-url]: https://npmjs.org/package/csmodel-to-ts
[npm-image]: https://img.shields.io/npm/v/ts-from-csmodels.svg
[npm-url]: https://npmjs.org/package/ts-from-csmodels
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "csmodel-to-ts",
"name": "ts-from-csmodels",
"version": "0.1.0",
"title": "Generates typescript declarations from C# models",
"author": "Saeed Rahimi <saeedr.com@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/saeedrahimi/csmodel-to-ts.git"
"url": "https://github.com/saeedrahimi/ts-from-csmodels.git"
},
"engines": {
"node": ">=6.0.0"
Expand Down

0 comments on commit 7daa804

Please sign in to comment.