80034c6cbc
* Netlify adapter * Remove package.json export that doesnt exist * Fix out path * Make netlifyFunctions the default * Make the dist configurable * Add an export for the functions * Append of the file exists
34 lines
949 B
JSON
34 lines
949 B
JSON
{
|
|
"name": "@astrojs/netlify",
|
|
"description": "Deploy your site to Netlify",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/integrations/netlify"
|
|
},
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://astro.build",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./functions": "./dist/integration-functions.js",
|
|
"./netlify-functions.js": "./dist/netlify-functions.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/webapi": "^0.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@netlify/functions": "^1.0.0",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*"
|
|
}
|
|
}
|