mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
chore: update build scripts
This commit is contained in:
parent
0d1e30df8d
commit
37669b22da
1 changed files with 15 additions and 7 deletions
|
@ -10,7 +10,10 @@
|
|||
"url": "https://github.com/withastro/astro.git",
|
||||
"directory": "packages/integrations/vercel"
|
||||
},
|
||||
"keywords": ["withastro", "astro-adapter"],
|
||||
"keywords": [
|
||||
"withastro",
|
||||
"astro-adapter"
|
||||
],
|
||||
"bugs": "https://github.com/withastro/astro/issues",
|
||||
"homepage": "https://docs.astro.build/en/guides/integrations-guide/vercel/",
|
||||
"exports": {
|
||||
|
@ -27,15 +30,20 @@
|
|||
},
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"serverless": ["dist/serverless/adapter.d.ts"],
|
||||
"static": ["dist/static/adapter.d.ts"]
|
||||
"serverless": [
|
||||
"dist/serverless/adapter.d.ts"
|
||||
],
|
||||
"static": [
|
||||
"dist/static/adapter.d.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": ["dist", "types.d.ts"],
|
||||
"files": [
|
||||
"dist",
|
||||
"types.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
||||
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
||||
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
||||
"build": "tsc",
|
||||
"test": "astro-scripts test --timeout 50000 \"test/**/!(hosted).test.js\"",
|
||||
"test:hosted": "astro-scripts test --timeout 30000 \"test/hosted/*.test.js\""
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue