UNPKG

2.42 kBJSONView Raw
1{
2 "name": "@dillonkearns/elm-graphql",
3 "version": "4.1.3",
4 "files": [
5 "dist/bundle.js",
6 "bin/elm-graphql"
7 ],
8 "scripts": {
9 "build": "parcel build generator/src/elm-graphql.ts --out-file bundle.js --target node --bundle-node-modules --no-source-maps --no-minify",
10 "elm-nuke": "rm -rf elm-stuff && elm package install -y && cd tests && rm -rf elm-stuff && elm package install -y && cd ..",
11 "start": "cd examples && elm-live src/Starwars.elm --open -- --output=elm.js",
12 "test": "./bin/approve && elm-test && (cd generator && elm-test)",
13 "test:watch": "elm-test --watch",
14 "gen:starwars": "npm run build && cd examples && ../bin/elm-graphql --scalar-codecs CustomScalarCodecs https://elm-graphql.herokuapp.com --base Swapi --output src",
15 "gen:normalize_test": "npm run build && cd ete_tests && ../bin/elm-graphql http://localhost:4000 --base Normalize && cd -",
16 "gen:github": "npm run build && && cd examples && ../bin/elm-graphql --introspection-file examples/github-schema.json --base Github --output src",
17 "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",
18 "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",
19 "prepare": "elm-tooling install"
20 },
21 "keywords": [
22 "elm",
23 "graphql"
24 ],
25 "repository": "https://github.com/dillonkearns/elm-graphql",
26 "author": "Dillon Kearns",
27 "license": "BSD-3-Clause",
28 "devDependencies": {
29 "@types/fs-extra": "^7.0.0",
30 "@types/glob": "^7.1.1",
31 "@types/node": "^12.0.2",
32 "@types/request": "^2.48.1",
33 "elm-hot": "^1.1.4",
34 "elm-hot-loader": "0.5.4",
35 "elm-live": "3.4.0",
36 "elm-review": "^2.4.1",
37 "elm-test": "^0.19.1-revision6",
38 "elm-tooling": "^1.1.0",
39 "fs-extra": "^8.0.1",
40 "graphql": "^15.5.0",
41 "node-elm-compiler": "^5.0.3",
42 "parcel-bundler": "^1.12.3",
43 "typescript": "^4.1.3"
44 },
45 "peerDependencies": {
46 "elm-format": ">= 0.8.0 < 1"
47 },
48 "dependencies": {
49 "glob": "^7.1.6",
50 "graphql-request": "^3.4.0",
51 "request": "^2.88.0"
52 },
53 "bin": {
54 "elm-graphql": "bin/elm-graphql"
55 }
56}