Rename the project to "flow2schema"

master
Paul Loyd 2017-11-16 17:34:27 +03:00
parent 8fb189bdaf
commit 29ec78a994
3 changed files with 16 additions and 13 deletions

View File

@ -1,9 +1,11 @@
# flow2avro
# flow2schema
[![Version npm](https://img.shields.io/npm/v/flow2avro.svg)](https://www.npmjs.com/package/flow2avro)
[![Linux Build](https://travis-ci.org/loyd/flow2avro.svg?branch=master)](https://travis-ci.org/loyd/flow2avro)
[![Windows Build](https://ci.appveyor.com/api/projects/status/github/loyd/flow2avro?branch=master&svg=true)](https://ci.appveyor.com/project/loyd/flow2avro)
[![Coverage Status](https://coveralls.io/repos/github/loyd/flow2avro/badge.svg?branch=master)](https://coveralls.io/r/loyd/flow2avro?branch=master)
[![Version npm](https://img.shields.io/npm/v/flow2schema.svg)](https://www.npmjs.com/package/flow2schema)
[![Linux Build](https://travis-ci.org/loyd/flow2schema.svg?branch=master)](https://travis-ci.org/loyd/flow2schema)
[![Windows Build](https://ci.appveyor.com/api/projects/status/github/loyd/flow2schema?branch=master&svg=true)](https://ci.appveyor.com/project/loyd/flow2schema)
[![Coverage Status](https://coveralls.io/repos/github/loyd/flow2schema/badge.svg?branch=master)](https://coveralls.io/r/loyd/flow2schema?branch=master)
Currently avro is the only supported target.
## Example
@ -19,7 +21,7 @@ export interface Foo {
}
```
Output (`$ ./bin/flow2avro example.js`):
Output (`$ ./bin/flow2schema example.js`):
```json
[
{
@ -41,7 +43,7 @@ Output (`$ ./bin/flow2avro example.js`):
```
## TODO
* Generics.
* Complete generics support.
* Errors and warnings.
* Support commonjs modules.
* Documentation.

View File

@ -1,25 +1,26 @@
{
"name": "flow2avro",
"name": "flow2schema",
"version": "0.2.0",
"description": "Generate avro schemas for flowtype definitions",
"description": "Generate schemas for flowtype definitions",
"author": "Paul Loyd <pavelko95@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/loyd/flow2avro.git"
"url": "https://github.com/loyd/flow2schema.git"
},
"bugs": {
"url": "https://github.com/loyd/flow2avro/issues"
"url": "https://github.com/loyd/flow2schema/issues"
},
"keywords": [
"flow",
"flowtype",
"avro",
"avsc"
"avsc",
"json-schema"
],
"main": "lib/index.js",
"bin": {
"flow2avro": "./bin/flow2avro"
"flow2schema": "./bin/flow2schema"
},
"dependencies": {
"babylon": "^7.0.0-beta.32",