Generate types and converters from JSON, Schema, and GraphQL
Перейти к файлу
David Siegel 1296489ee9 Merge pull request #125 from dvdsgl/next
Move dependencies to app

Original commit 14b65f96561b99bd52236e9682990db86fb9ee77
2017-08-23 12:15:19 -07:00
.vscode Java 2017-08-18 15:53:49 -07:00
app/public/sample/json Remove empty property 2017-08-19 19:07:19 -04:00
cli Move dependencies to app 2017-08-23 11:52:17 -07:00
src Merge pull request #121 from dvdsgl/ir-errors 2017-08-23 11:18:42 -07:00
test Make Java converter methods lower-cases. Fixes #119 2017-08-23 10:36:02 -07:00
.gitignore Add package.locks 2017-08-15 14:30:36 -04:00
.travis.yml Stop emailing me 2017-08-20 09:51:36 -04:00
README.md Update README with requirements 2017-08-23 10:36:02 -07:00
bower.json Support JSON Schema input from the command line 2017-07-29 13:20:37 -07:00
deploy.sh Simplify Firebase deploy 2017-07-27 20:03:58 -07:00
package-lock.json Move dependencies to app 2017-08-23 11:52:17 -07:00
package.json Move dependencies to app 2017-08-23 11:52:17 -07:00

README.md

Build Status

Setup

$ npm install

Build

$ npm run build

Test

$ npm test

Test only a specific fixture

$ FIXTURE=golang npm test

Fixtures are defined in test/test.ts.

Requirements

C#

dotnetcore

Java

Maven (for example via Homebrew)

On MacOS that seems to be sufficient to run the tests with the system Java.

Edit

$ code . # open in VSCode

Install the purescript-ide extension in VSCode, then use the command pallete to start the psc-ide server for code completion, etc.

Play

$ npm start

The react app will live-reload when you edit any source.

Deploy

  • Commit to master to deploy quicktype.io.
  • The quicktype CLI will also deploy to NPM if it has a newer version number.