@dillonkearns/elm-graphql
Version:
[](https://github.com/dillonkearns/elm-graphql/actions?query=branch%3Amaster) [](https://pa
55 lines (54 loc) • 2.4 kB
JSON
{
"name": "@dillonkearns/elm-graphql",
"version": "4.3.2",
"type": "module",
"files": [
"dist/bundle.js",
"bin/elm-graphql"
],
"scripts": {
"build": "node generator/src/build.js",
"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": "./bin/approve && elm-test-rs && (cd generator && elm-test-rs)",
"test:watch": "elm-test-rs --watch",
"elm-review": "elm-review && echo 'in repo root\n' && cd generator && elm-review && echo 'in generator folder' && cd ..",
"gen:starwars": "npm run build && cd examples && ../bin/elm-graphql --scalar-codecs CustomScalarCodecs https://elm-graphql.onrender.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/SimpleMutation.elm && cd complex && elm make --output /dev/null Main.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",
"prepare": "elm-tooling install"
},
"keywords": [
"elm",
"graphql"
],
"repository": "https://github.com/dillonkearns/elm-graphql",
"author": "Dillon Kearns",
"license": "BSD-3-Clause",
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/glob": "^8.1.0",
"@types/node": "^22.14.1",
"elm-hot": "^1.1.6",
"elm-hot-loader": "0.5.4",
"elm-live": "4.0.2",
"elm-optimize-level-2": "^0.3.5",
"elm-pages": "^3.0.23",
"elm-review": "^2.13.2",
"elm-test": "^0.19.1-revision6",
"elm-tooling": "^1.15.1",
"graphql": "^16.10.0",
"node-elm-compiler": "^5.0.6",
"typescript": "^5.8.3"
},
"dependencies": {
"cross-spawn": "^7.0.6",
"glob": "^11.0.1",
"graphql-request": "^7.1.2"
},
"bin": {
"elm-graphql": "bin/elm-graphql"
}
}