UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.rawgit.com/martimatix/logo-graphqelm/master/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

52 lines (51 loc) 2.81 kB
{ "name": "@dillonkearns/elm-graphql", "version": "1.0.0", "scripts": { "build": "webpack", "elm-nuke": "rm -rf elm-stuff && elm package install -y && cd tests && rm -rf elm-stuff && elm package install -y && cd ..", "start": "cd examples && elm-live src/GithubComplex.elm --open --output=elm.js", "test": "elm-test && cd generator && elm-test", "gen:starwars": "npm run build && ./bin/elm-graphql https://elm-graphql.herokuapp.com --base Swapi --output examples/src", "gen:normalize_test": "npm run build && cd ete_tests && ../bin/elm-graphql http://localhost:4000 --base Normalize && cd -", "gen:github": "npm run build && ./bin/elm-graphql --introspection-file examples/github-schema.json --base Github --output examples/src", "approve-compilation": "cd ete_tests && elm make src/NormalizeDemo.elm --output /dev/null && cd - && cd examples && elm make --output /dev/null src/Github.elm src/Starwars.elm src/GithubComplex.elm src/SimpleMutation.elm", "approve": "npm run build && npm link && elm-graphql --introspection-file examples/github-schema.json --base Github --output examples/src && elm-graphql https://elm-graphql.herokuapp.com/api --base Swapi --output examples/src && elm-graphql https://elm-graphql-normalize.herokuapp.com/api --base Normalize --output ete_tests/src && echo 'Ensuring documentation is valid...' && elm make --docs=documentation.json && echo 'Confirming that examples folder is clean...' && (git diff --exit-code -- examples || (echo 'FAILURE' && echo 'examples code has changed. Commit changes to approve.' && exit 1)) && echo 'Confirming that ete_tests folder is clean...' && (git diff --exit-code -- ete_tests || (echo 'FAILURE' && echo 'ete_tests code has changed. Commit changes to approve.' && exit 1)) && npm run approve-compilation && echo 'SUCCESS'", "elm-analyse": "elm-analyse --serve" }, "keywords": [ "elm", "graphql" ], "repository": "https://github.com/dillonkearns/elm-graphql", "author": "Dillon Kearns", "license": "BSD-3-Clause", "devDependencies": { "@types/fs-extra": "^5.0.0", "@types/glob": "^5.0.34", "@types/minimist": "^1.2.0", "@types/node": "^8.5.2", "@types/request": "^2.0.9", "@types/webpack": "^3.8.1", "elm": "^0.19.0", "elm-analyse": "^0.13.3", "elm-hot-loader": "0.5.4", "elm-live": "^2.7.5", "elm-test": "^0.19.0-beta4", "elm-webpack-loader": "https://github.com/xtian/elm-webpack-loader.git#0.19", "fs-extra": "^5.0.0", "ts-loader": "^3.2.0", "typescript": "^2.6.2", "webpack": "^3.10.0" }, "dependencies": { "elm-format": "^0.8.0", "glob": "^7.1.2", "graphql-request": "^1.4.0", "minimist": "^1.2.0", "request": "^2.83.0" }, "bin": { "elm-graphql": "bin/elm-graphql" } }