@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
56 lines (55 loc) • 2.41 kB
JSON
{
"name": "@dillonkearns/elm-graphql",
"version": "3.6.1",
"scripts": {
"build": "parcel build generator/src/elm-graphql.ts --out-file bundle.js --target node --bundle-node-modules --no-source-maps",
"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/Starwars.elm --open -- --output=elm.js",
"test": "elm-test && cd generator && elm-test",
"test:watch": "elm-test --watch",
"gen:starwars": "npm run build && cd examples && ../bin/elm-graphql --scalar-codecs CustomScalarCodecs https://elm-graphql.herokuapp.com --base Swapi --output src",
"gen:normalize_test": "npm run build && cd ete_tests && ../bin/elm-graphql http://localhost:4000 --base Normalize && cd -",
"gen:github": "npm run build && && cd examples && ../bin/elm-graphql --introspection-file examples/github-schema.json --base Github --output 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/complex/Main.elm src/SimpleMutation.elm",
"reproduce-error": "node reproducing-issues/sdl-to-json.js > reproducing-issues/schema.json && npm run build && cd reproducing-issues && ../bin/elm-graphql --introspection-file schema.json --output gen",
"elm-analyse": "elm-analyse --serve",
"elm-analyse-examples": "cd examples && elm-analyse"
},
"keywords": [
"elm",
"graphql"
],
"repository": "https://github.com/dillonkearns/elm-graphql",
"author": "Dillon Kearns",
"license": "BSD-3-Clause",
"devDependencies": {
"@types/fs-extra": "^7.0.0",
"@types/glob": "^7.1.1",
"@types/node": "^12.0.2",
"@types/request": "^2.48.1",
"elm": "^0.19.0-no-deps",
"elm-analyse": "^0.16.4",
"elm-format": "^0.8.1",
"elm-hot": "^1.0.1",
"elm-hot-loader": "0.5.4",
"elm-live": "3.4.0",
"elm-test": "^0.19.0-rev6",
"fs-extra": "^8.0.1",
"graphql": "^14.3.1",
"node-elm-compiler": "^5.0.3",
"parcel-bundler": "^1.12.3",
"typescript": "^3.4.5"
},
"peerDependencies": {
"elm-format": ">= 0.8.0 < 1"
},
"dependencies": {
"encoding": "^0.1.12",
"glob": "^7.1.4",
"graphql-request": "^1.8.2",
"request": "^2.88.0"
},
"bin": {
"elm-graphql": "bin/elm-graphql"
}
}