UNPKG

2.52 kBJSONView Raw
1{
2 "name": "@dillonkearns/elm-graphql",
3 "version": "4.0.0",
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": "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 "elm-analyse": "elm-analyse --serve",
20 "elm-analyse-examples": "cd examples && elm-analyse"
21 },
22 "keywords": [
23 "elm",
24 "graphql"
25 ],
26 "repository": "https://github.com/dillonkearns/elm-graphql",
27 "author": "Dillon Kearns",
28 "license": "BSD-3-Clause",
29 "devDependencies": {
30 "@types/fs-extra": "^7.0.0",
31 "@types/glob": "^7.1.1",
32 "@types/node": "^12.0.2",
33 "@types/request": "^2.48.1",
34 "elm": "latest-0.19.1",
35 "elm-analyse": "^0.16.4",
36 "elm-format": "^0.8.1",
37 "elm-hot": "^1.0.1",
38 "elm-hot-loader": "0.5.4",
39 "elm-live": "3.4.0",
40 "elm-test": "latest-0.19.1",
41 "fs-extra": "^8.0.1",
42 "graphql": "^14.3.1",
43 "node-elm-compiler": "^5.0.3",
44 "parcel-bundler": "^1.12.3",
45 "typescript": "^3.4.5"
46 },
47 "peerDependencies": {
48 "elm-format": ">= 0.8.0 < 1"
49 },
50 "dependencies": {
51 "encoding": "^0.1.12",
52 "glob": "^7.1.4",
53 "graphql-request": "^1.8.2",
54 "request": "^2.88.0"
55 },
56 "bin": {
57 "elm-graphql": "bin/elm-graphql"
58 }
59}