summaryrefslogtreecommitdiff
path: root/packages/integrations/image/package.json
blob: 1ac8727cbeb26bc33768b298c51007891972ba2b (plain) (blame)
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
73
74
{
  "name": "@astrojs/image",
  "description": "Load and transform images in your Astro site",
  "version": "0.17.2",
  "type": "module",
  "types": "./dist/index.d.ts",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/withastro/astro.git",
    "directory": "packages/integrations/image"
  },
  "keywords": [
    "astro-integration",
    "astro-component",
    "withastro",
    "image"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/image/",
  "exports": {
    ".": "./dist/index.js",
    "./endpoint": "./dist/endpoint.js",
    "./sharp": "./dist/loaders/sharp.js",
    "./squoosh": "./dist/loaders/squoosh.js",
    "./components": "./components/index.js",
    "./package.json": "./package.json",
    "./client": "./client.d.ts",
    "./dist/*": "./dist/*"
  },
  "files": [
    "components",
    "dist",
    "client.d.ts"
  ],
  "scripts": {
    "build": "astro-scripts build \"src/**/*.ts\" && tsc",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "dev": "astro-scripts dev \"src/**/*.ts\"",
    "test": "mocha --exit --timeout 20000 test"
  },
  "dependencies": {
    "@altano/tiny-async-pool": "^1.0.2",
    "http-cache-semantics": "^4.1.1",
    "image-size": "^1.0.2",
    "kleur": "^4.1.5",
    "magic-string": "^0.30.2",
    "mime": "^3.0.0"
  },
  "devDependencies": {
    "@types/http-cache-semantics": "^4.0.1",
    "@types/mime": "^2.0.3",
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "chai": "^4.3.7",
    "cheerio": "1.0.0-rc.12",
    "fast-glob": "^3.2.12",
    "mocha": "^9.2.2",
    "rollup-plugin-copy": "^3.4.0",
    "sharp": "^0.32.1",
    "srcset-parse": "^1.1.0",
    "vite": "^4.4.6"
  },
  "peerDependencies": {
    "astro": "workspace:^2.9.7",
    "sharp": ">=0.31.0"
  },
  "peerDependenciesMeta": {
    "sharp": {
      "optional": true
    }
  }
}