2017-07-20 04:07:12 +03:00
|
|
|
[![Build Status](https://travis-ci.com/dvdsgl/quicktype.svg?token=PSTj9tVyM1RDRiZ17Sgd&branch=master)](https://travis-ci.com/dvdsgl/quicktype)
|
|
|
|
|
2017-07-13 05:12:20 +03:00
|
|
|
## Setup
|
2017-07-13 03:22:10 +03:00
|
|
|
|
|
|
|
```shell
|
2017-07-25 04:01:59 +03:00
|
|
|
$ npm install
|
2017-07-13 03:22:10 +03:00
|
|
|
```
|
|
|
|
|
2017-07-25 04:03:21 +03:00
|
|
|
## Build
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Test
|
|
|
|
|
|
|
|
```shell
|
2017-07-25 21:09:44 +03:00
|
|
|
$ npm test
|
2017-07-25 04:03:21 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
* [`dotnetcore`](https://www.microsoft.com/net/core#macos)
|
|
|
|
|
2017-07-13 03:22:10 +03:00
|
|
|
## Edit
|
|
|
|
|
2017-07-13 05:12:20 +03:00
|
|
|
```shell
|
|
|
|
$ code . # open in VSCode
|
|
|
|
```
|
|
|
|
|
2017-07-13 03:22:10 +03:00
|
|
|
Install the `purescript-ide` extension in VSCode, then use the command pallete to start the `psc-ide` server for code completion, etc.
|
|
|
|
|
|
|
|
## Play
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ npm start
|
|
|
|
```
|
|
|
|
|
2017-07-15 05:51:42 +03:00
|
|
|
The react app will live-reload when you edit any source.
|
|
|
|
|
|
|
|
## Deploy
|
|
|
|
|
2017-07-25 04:08:15 +03:00
|
|
|
* Commit to master to deploy `quicktype.io`.
|
|
|
|
* The `quicktype` CLI will also deploy to NPM if it has a newer version number.
|