54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "@ayco/astro-sw",
|
|
"version": "0.9.0",
|
|
"description": "Use your own authored service worker with Astro",
|
|
"homepage": "https://ayco.io/n/@ayco/astro-sw",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.sr.ht/~ayoayco/astro-sw"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./globals": {
|
|
"types": "./dist/eslint/globals.d.ts",
|
|
"default": "./dist/eslint/globals.js"
|
|
},
|
|
"./presets/**": {
|
|
"types": "./dist/presets/**/index.d.ts",
|
|
"default": "./dist/presets/**/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "./astro-sw.js",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup src/**/index.ts src/eslint/globals.ts --format esm --dts --clean",
|
|
"test": "vitest run",
|
|
"version:patch": "npm version patch",
|
|
"version:minor": "npm version minor",
|
|
"version:major": "npm version major"
|
|
},
|
|
"keywords": [
|
|
"withastro",
|
|
"perf"
|
|
],
|
|
"author": "Ayo Ayco",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"esbuild": "^0.25.2"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "^5.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.14.0"
|
|
}
|
|
}
|