7ec016fec3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
75 lines
2 KiB
JSON
75 lines
2 KiB
JSON
{
|
|
"name": "@astrojs/image",
|
|
"description": "Load and transform images in your Astro site.",
|
|
"version": "0.11.4",
|
|
"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 && pnpm run postbuild",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\" && pnpm run postbuild",
|
|
"postbuild": "astro-scripts copy \"src/**/*.wasm\"",
|
|
"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.0",
|
|
"image-size": "^1.0.2",
|
|
"kleur": "^4.1.5",
|
|
"magic-string": "^0.25.9",
|
|
"mime": "^3.0.0",
|
|
"slash": "^4.0.0",
|
|
"web-streams-polyfill": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/http-cache-semantics": "^4.0.1",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/sharp": "^0.30.5",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"mocha": "^9.2.2",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"sharp": "^0.31.0",
|
|
"vite": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"sharp": ">=0.31.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"sharp": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|