2022-07-01 10:47:48 -05:00
|
|
|
{
|
|
|
|
"name": "@astrojs/image",
|
|
|
|
"description": "Load and transform images in your Astro site.",
|
2023-03-07 14:49:19 -05:00
|
|
|
"version": "0.16.0",
|
2022-07-01 10:47:48 -05:00
|
|
|
"type": "module",
|
2022-07-27 10:39:05 -05:00
|
|
|
"types": "./dist/index.d.ts",
|
2022-07-01 10:47:48 -05:00
|
|
|
"author": "withastro",
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/withastro/astro.git",
|
|
|
|
"directory": "packages/integrations/image"
|
|
|
|
},
|
|
|
|
"keywords": [
|
2022-07-08 15:55:33 -05:00
|
|
|
"astro-integration",
|
2022-07-01 10:47:48 -05:00
|
|
|
"astro-component",
|
|
|
|
"withastro",
|
|
|
|
"image"
|
|
|
|
],
|
|
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
2022-07-11 14:10:34 -05:00
|
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/image/",
|
2022-07-01 10:47:48 -05:00
|
|
|
"exports": {
|
2022-07-27 10:39:05 -05:00
|
|
|
".": "./dist/index.js",
|
2022-08-30 16:09:44 -05:00
|
|
|
"./endpoint": "./dist/endpoint.js",
|
2022-07-01 10:47:48 -05:00
|
|
|
"./sharp": "./dist/loaders/sharp.js",
|
2022-09-22 14:48:14 -05:00
|
|
|
"./squoosh": "./dist/loaders/squoosh.js",
|
2022-07-01 10:47:48 -05:00
|
|
|
"./components": "./components/index.js",
|
2022-07-27 10:39:05 -05:00
|
|
|
"./package.json": "./package.json",
|
2022-08-04 01:11:37 -05:00
|
|
|
"./client": "./client.d.ts",
|
2022-08-05 19:00:35 -05:00
|
|
|
"./dist/*": "./dist/*"
|
2022-07-01 10:47:48 -05:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"components",
|
2022-07-01 14:56:43 -05:00
|
|
|
"dist",
|
2022-07-27 10:39:05 -05:00
|
|
|
"client.d.ts"
|
2022-07-01 10:47:48 -05:00
|
|
|
],
|
|
|
|
"scripts": {
|
2022-09-22 14:48:14 -05:00
|
|
|
"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\"",
|
2022-07-01 10:47:48 -05:00
|
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
|
|
"test": "mocha --exit --timeout 20000 test"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-06 09:29:20 -05:00
|
|
|
"@altano/tiny-async-pool": "^1.0.2",
|
2022-09-30 22:25:37 -05:00
|
|
|
"http-cache-semantics": "^4.1.0",
|
2022-08-30 16:09:44 -05:00
|
|
|
"image-size": "^1.0.2",
|
2022-10-10 10:35:48 -05:00
|
|
|
"kleur": "^4.1.5",
|
2023-01-22 04:11:19 -05:00
|
|
|
"magic-string": "^0.27.0",
|
2023-01-30 15:29:41 -05:00
|
|
|
"mime": "^3.0.0"
|
2022-07-01 10:47:48 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-09-29 16:20:48 -05:00
|
|
|
"@types/http-cache-semantics": "^4.0.1",
|
2022-09-28 10:13:33 -05:00
|
|
|
"@types/mime": "^2.0.3",
|
2022-08-30 16:09:44 -05:00
|
|
|
"@types/sharp": "^0.30.5",
|
2022-07-01 10:47:48 -05:00
|
|
|
"astro": "workspace:*",
|
2022-08-22 14:13:19 -05:00
|
|
|
"astro-scripts": "workspace:*",
|
2022-09-28 10:13:33 -05:00
|
|
|
"chai": "^4.3.6",
|
|
|
|
"cheerio": "^1.0.0-rc.11",
|
|
|
|
"mocha": "^9.2.2",
|
2022-09-22 14:48:14 -05:00
|
|
|
"rollup-plugin-copy": "^3.4.0",
|
2022-09-28 10:13:33 -05:00
|
|
|
"sharp": "^0.31.0",
|
2023-02-17 09:16:25 -05:00
|
|
|
"vite": "^4.1.2"
|
2022-09-28 10:13:33 -05:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2023-03-08 16:09:20 -05:00
|
|
|
"astro": "workspace:^2.1.1",
|
2023-01-22 04:11:19 -05:00
|
|
|
"sharp": ">=0.31.0"
|
2022-09-28 10:13:33 -05:00
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"sharp": {
|
|
|
|
"optional": true
|
|
|
|
}
|
2022-07-01 10:47:48 -05:00
|
|
|
}
|
|
|
|
}
|