-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
50 lines (50 loc) · 1.68 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
{
"name": "elm-gql",
"version": "0.15.0",
"description": "Write GraphQL, get nice Elm code!",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"elm-gql": "./bin/elm-gql"
},
"scripts": {
"build": "node cli/build.js ; tsc ; pnpm build:elm:opt ; cp cli/package.json dist/package.json",
"build:elm": "elm make src/GraphQL/Engine.elm --output=/dev/null ; elm-codegen install; elm make src/Generate.elm --output=./dist/generators/schema.js",
"build:elm:opt": "elm make src/GraphQL/Engine.elm --output=/dev/null ; elm-codegen install; elm-optimize-level-2 src/Generate.elm --output=./dist/generators/schema.js",
"prepublishOnly": "pnpm run build",
"elm-gql": "node ./bin/elm-gql",
"elm-gql:run": "bash tests/iz-example/run.sh",
"elm-gql:init": "mkdir sandbox ; cd sandbox ; node ../bin/elm-gql init schema.json src/app --force --queries queries/elm --namespace MyApi",
"sandbox": "cd sandbox ; elm make src/Main.elm",
"test": "elm-test",
"review": "elm-review --fix-all"
},
"files": [
"dist",
"bin"
],
"repository": {
"type": "git",
"url": "git+https://github.com/vendrinc/elm-gql.git"
},
"author": "Matthew Griffith",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/vendrinc/elm-gql/issues"
},
"homepage": "https://github.com/vendrinc/elm-gql#readme",
"devDependencies": {
"elm-codegen": "^0.5.0",
"elm-doc-preview": "^5.0.5",
"elm-format": "^0.8.7",
"elm-optimize-level-2": "^0.3.4",
"elm-review": "^2.10.1",
"typescript": "^4.2.4"
},
"dependencies": {
"@types/node": "^15.0.3",
"chalk": "^4.1.1",
"chokidar": "^3.5.1",
"commander": "^9.4.1"
}
}