74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"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.1",
|
|
"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.2",
|
|
"sharp": ">=0.31.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"sharp": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|