-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
52 lines (52 loc) · 2.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "@dillonkearns/elm-graphql",
"version": "4.3.1",
"files": [
"dist/bundle.js",
"bin/elm-graphql"
],
"scripts": {
"build": "parcel build generator/src/elm-graphql.ts --out-file bundle.js --target node --bundle-node-modules --no-source-maps --no-minify",
"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 && (cd generator && elm-test)",
"test:watch": "elm-test --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.2",
"@types/glob": "^7.1.1",
"@types/node": "^12.0.2",
"elm-hot": "^1.1.4",
"elm-hot-loader": "0.5.4",
"elm-live": "4.0.2",
"elm-review": "^2.7.5",
"elm-test": "^0.19.1-revision6",
"elm-tooling": "^1.3.0",
"graphql": "^15.5.0",
"node-elm-compiler": "^5.0.3",
"parcel-bundler": "^1.12.3",
"typescript": "^4.1.5"
},
"dependencies": {
"cross-spawn": "^5.0.1",
"glob": "^7.1.6",
"graphql-request": "^3.4.0"
},
"bin": {
"elm-graphql": "bin/elm-graphql"
}
}