2022-07-01 15:47:48 +00:00
|
|
|
{
|
|
|
|
"name": "@astrojs/image",
|
|
|
|
"description": "Load and transform images in your Astro site.",
|
2022-09-20 20:55:48 +00:00
|
|
|
"version": "0.7.1",
|
2022-07-01 15:47:48 +00:00
|
|
|
"type": "module",
|
2022-07-27 15:39:05 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
2022-07-01 15:47:48 +00:00
|
|
|
"author": "withastro",
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/withastro/astro.git",
|
|
|
|
"directory": "packages/integrations/image"
|
|
|
|
},
|
|
|
|
"keywords": [
|
2022-07-08 20:55:33 +00:00
|
|
|
"astro-integration",
|
2022-07-01 15:47:48 +00:00
|
|
|
"astro-component",
|
|
|
|
"withastro",
|
|
|
|
"image"
|
|
|
|
],
|
|
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
2022-07-11 19:10:34 +00:00
|
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/image/",
|
2022-07-01 15:47:48 +00:00
|
|
|
"exports": {
|
2022-07-27 15:39:05 +00:00
|
|
|
".": "./dist/index.js",
|
2022-08-30 21:09:44 +00:00
|
|
|
"./endpoint": "./dist/endpoint.js",
|
2022-07-01 15:47:48 +00:00
|
|
|
"./sharp": "./dist/loaders/sharp.js",
|
2022-09-22 19:48:14 +00:00
|
|
|
"./squoosh": "./dist/loaders/squoosh.js",
|
2022-07-01 15:47:48 +00:00
|
|
|
"./components": "./components/index.js",
|
2022-07-27 15:39:05 +00:00
|
|
|
"./package.json": "./package.json",
|
2022-08-04 06:11:37 +00:00
|
|
|
"./client": "./client.d.ts",
|
2022-08-06 00:00:35 +00:00
|
|
|
"./dist/*": "./dist/*"
|
2022-07-01 15:47:48 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"components",
|
2022-07-01 19:56:43 +00:00
|
|
|
"dist",
|
2022-07-27 15:39:05 +00:00
|
|
|
"client.d.ts"
|
2022-07-01 15:47:48 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
2022-09-22 19:48:14 +00: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 15:47:48 +00:00
|
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
|
|
"test": "mocha --exit --timeout 20000 test"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-06 14:29:20 +00:00
|
|
|
"@altano/tiny-async-pool": "^1.0.2",
|
2022-08-30 21:09:44 +00:00
|
|
|
"image-size": "^1.0.2",
|
|
|
|
"magic-string": "^0.25.9",
|
2022-09-22 19:48:14 +00:00
|
|
|
"mime": "^3.0.0"
|
2022-07-01 15:47:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-30 21:09:44 +00:00
|
|
|
"@types/sharp": "^0.30.5",
|
2022-07-01 15:47:48 +00:00
|
|
|
"astro": "workspace:*",
|
2022-08-22 19:13:19 +00:00
|
|
|
"astro-scripts": "workspace:*",
|
2022-09-22 19:48:14 +00:00
|
|
|
"kleur": "^4.1.4",
|
|
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
|
|
"web-streams-polyfill": "^3.2.1"
|
2022-07-01 15:47:48 +00:00
|
|
|
}
|
|
|
|
}
|