mirror of
https://github.com/schpet/linear-cli.git
synced 2026-09-14 14:26:50 +08:00
71 lines
3.0 KiB
JSON
71 lines
3.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
|
|
"name": "@schpet/linear-cli",
|
|
"version": "1.2.1",
|
|
"exports": "./src/main.ts",
|
|
"license": "MIT",
|
|
"tasks": {
|
|
"dev": "deno task codegen && deno run '--allow-env=GITHUB_*,GH_*,LINEAR_*,NODE_ENV,EDITOR,PAGER,NO_COLOR' --allow-read --allow-write --allow-run --allow-net=api.linear.app --quiet src/main.ts ",
|
|
"install": "deno task codegen && deno install -c ./deno.json '--allow-env=GITHUB_*,GH_*,LINEAR_*,NODE_ENV,EDITOR,PAGER,NO_COLOR' --allow-read --allow-write --allow-run --allow-net=api.linear.app --quiet -g -f -n linear ./src/main.ts",
|
|
"uninstall": "deno uninstall -g linear",
|
|
"sync-schema": "deno run -A npm:get-graphql-schema https://api.linear.app/graphql > graphql/schema.graphql",
|
|
"codegen": "deno run --allow-all npm:@graphql-codegen/cli/graphql-codegen-esm",
|
|
"check": "deno check src/main.ts",
|
|
"test": "deno test '--allow-env=GITHUB_*,GH_*,LINEAR_*,NODE_ENV,EDITOR,PAGER,SNAPSHOT_TEST_NAME,CLIFFY_SNAPSHOT_FAKE_TIME,NO_COLOR' --allow-read --allow-write --allow-run --allow-net=api.linear.app --quiet",
|
|
"snapshot": "deno test '--allow-env=GITHUB_*,GH_*,LINEAR_*,NODE_ENV,EDITOR,PAGER,SNAPSHOT_TEST_NAME,CLIFFY_SNAPSHOT_FAKE_TIME,NO_COLOR' --allow-read --allow-write --allow-run --allow-net=api.linear.app -- --update",
|
|
"lefthook-install": "deno run --allow-run --allow-read --allow-write --allow-env npm:lefthook install"
|
|
},
|
|
"imports": {
|
|
"@cliffy/ansi": "jsr:@cliffy/ansi@^1.0.0-rc.8",
|
|
"@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.8",
|
|
"@cliffy/internal": "jsr:@cliffy/internal@^1.0.0-rc.8",
|
|
"@cliffy/prompt": "jsr:@cliffy/prompt@^1.0.0-rc.8",
|
|
"@cliffy/testing": "jsr:@cliffy/testing@^1.0.0-rc.8",
|
|
"@graphql-codegen/cli": "npm:@graphql-codegen/cli@^5.0.7",
|
|
"@graphql-typed-document-node/core": "npm:@graphql-typed-document-node/core@^3.2.0",
|
|
"@littletof/charmd": "jsr:@littletof/charmd@^0.1.2",
|
|
"@opensrc/deno-open": "jsr:@opensrc/deno-open@^1.0.0",
|
|
"@std/assert": "jsr:@std/assert@1",
|
|
"@std/cli": "jsr:@std/cli@^1.0.12",
|
|
"@std/fmt": "jsr:@std/fmt@1",
|
|
"@std/testing": "jsr:@std/testing@1",
|
|
"@std/dotenv": "jsr:@std/dotenv@^0.225.3",
|
|
"@std/encoding": "jsr:@std/encoding@^1.0.5",
|
|
"@std/path": "jsr:@std/path@^1.0.8",
|
|
"@std/toml": "jsr:@std/toml@^1.0.2",
|
|
"graphql": "npm:graphql@^16.8.1",
|
|
"./__generated__/graphql": "./src/__codegen__/graphql.ts",
|
|
"graphql-request": "npm:graphql-request@^7.2.0",
|
|
"lefthook": "npm:lefthook@^1.12.3"
|
|
},
|
|
"publish": {
|
|
"include": [
|
|
"src/",
|
|
"test/",
|
|
"README.md"
|
|
],
|
|
"exclude": [
|
|
"!src/__codegen__/"
|
|
]
|
|
},
|
|
"fmt": {
|
|
"exclude": [
|
|
".github/workflows/release.yml",
|
|
".github/workflows/build-setup.yml",
|
|
"__generated__/",
|
|
"src/__codegen__/"
|
|
],
|
|
"proseWrap": "never",
|
|
"semiColons": false
|
|
},
|
|
"lint": {
|
|
"exclude": [
|
|
"__generated__/",
|
|
"src/__codegen__/"
|
|
]
|
|
},
|
|
"unstable": [
|
|
"sloppy-imports"
|
|
]
|
|
}
|