๐Ÿ“ฆ Kong / insomnia

๐Ÿ“„ package.json ยท 72 lines
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72{
  "private": true,
  "name": "insomnia-inso",
  "version": "12.2.0-beta.1",
  "homepage": "https://insomnia.rest",
  "description": "A CLI for Insomnia - The Collaborative API Design Tool",
  "author": "Kong <office@konghq.com>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Kong/insomnia.git",
    "directory": "packages/insomnia-inso"
  },
  "bugs": {
    "url": "https://github.com/kong/insomnia/issues"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "inso": "bin/inso"
  },
  "pkg": {
    "scripts": [
      "../../node_modules/@kong/**/*.json",
      "../../node_modules/@kong/**/*.js"
    ]
  },
  "//": [
    "pkg attributes is used to manually include modules in the packing process of pkg",
    "See: https://github.com/yao-pkg/pkg?tab=readme-ov-file#config"
  ],
  "scripts": {
    "lint": "eslint . --ext .js,.ts,.tsx --cache",
    "test:unit": "cross-env NO_COLOR=1 vitest run --exclude '**/cli.test.ts'",
    "test:unit:color": "vitest run --exclude '**/cli.test.ts'",
    "test:bundle": "vitest cli.test.ts -t \"inso dev bundle\"",
    "test:binary": "vitest cli.test.ts -t \"inso packaged binary\"",
    "type-check": "tsc --project tsconfig.json",
    "build": "esr esbuild.ts",
    "build:production": "cross-env NODE_ENV=production esr esbuild.ts",
    "start": "ESBUILD_WATCH=true esr esbuild.ts",
    "prepackage": "npm run build:production && rm -rf binaries/inso",
    "package": "npx -y @yao-pkg/pkg@6.3.2 . --output binaries/inso --targets host",
    "postpackage": "node src/scripts/verify-pkg.js",
    "artifacts": "esr src/scripts/artifacts.ts"
  },
  "devDependencies": {
    "cross-env": "^7.0.3",
    "esbuild": "^0.25.10",
    "esbuild-runner": "^2.2.2",
    "shellwords": "^1.0.1"
  },
  "dependencies": {
    "@seald-io/nedb": "^4.1.1",
    "@stoplight/spectral-core": "^1.20.0",
    "@stoplight/spectral-formats": "^1.8.2",
    "@stoplight/spectral-ruleset-bundler": "1.6.3",
    "@stoplight/spectral-rulesets": "^1.22.0",
    "@stoplight/types": "^14.1.1",
    "commander": "^12.1.0",
    "consola": "^2.15.3",
    "cosmiconfig": "^9.0.0",
    "enquirer": "^2.4.1",
    "picocolors": "^1.1.1",
    "string-argv": "^0.3.2",
    "yaml": "^2.7.1"
  },
  "optionalDependencies": {
    "@kong/insomnia-plugin-external-vault": "0.1.3"
  }
}