mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
b012ee55b1
* feat: support adapters and third part integrations by keywords
* refactor: add keywords to all official integrations
* docs: add adapter ex to astro add help
* nit: clarify astro add usage
* nit: highlight link
* fix: use process.exit(1) on error
* chore: changeset
* nit: bold integration name
* fix: log install instructions for adapters instead
* nit: change to logAdapterConfigInstructions
* Revert "fix: log install instructions for adapters instead"
This reverts commit 1a459f152b
.
* feat: add hardcoded adapter export map
* refactor: inline adapter config log
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "@astrojs/image",
|
|
"description": "Load and transform images in your Astro site.",
|
|
"version": "0.0.4",
|
|
"type": "module",
|
|
"types": "./dist/types.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://astro.build",
|
|
"exports": {
|
|
".": {
|
|
"astro": "./components/index.js",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./sharp": "./dist/loaders/sharp.js",
|
|
"./endpoints/dev": "./dist/endpoints/dev.js",
|
|
"./endpoints/prod": "./dist/endpoints/prod.js",
|
|
"./components": "./components/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"components",
|
|
"dist",
|
|
"src"
|
|
],
|
|
"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": {
|
|
"etag": "^1.8.1",
|
|
"image-size": "^1.0.1",
|
|
"image-type": "^4.1.0",
|
|
"mrmime": "^1.0.0",
|
|
"sharp": "^0.30.6",
|
|
"slash": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/etag": "^1.8.1",
|
|
"@types/sharp": "^0.30.4",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*"
|
|
}
|
|
}
|