@serwist/next
Version:
A module that integrates Serwist into your Next.js application.
126 lines • 2.96 kB
JSON
{
"name": "@serwist/next",
"version": "9.5.11",
"type": "module",
"description": "A module that integrates Serwist into your Next.js application.",
"files": [
"src",
"dist"
],
"keywords": [
"serwist",
"serwistjs",
"sw",
"service worker",
"progressive web apps",
"web",
"service-worker",
"progressive-web-apps",
"next",
"next.js",
"pwa"
],
"engines": {
"node": ">=18.0.0"
},
"author": "Serwist <ducanh2912.rusty@gmail.com> (https://serwist.pages.dev/)",
"license": "MIT",
"repository": "https://github.com/serwist/serwist",
"bugs": "https://github.com/serwist/serwist/issues",
"homepage": "https://serwist.pages.dev",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"config": [
"./dist/index.config.d.mts"
],
"react": [
"./dist/index.react.d.mts"
],
"schema": [
"./dist/index.schema.d.mts"
],
"typings": [
"./dist/sw-entry.d.mts"
],
"worker": [
"./dist/index.worker.d.mts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./config": {
"types": "./dist/index.config.d.mts",
"default": "./dist/index.config.mjs"
},
"./react": {
"types": "./dist/index.react.d.mts",
"default": "./dist/index.react.mjs"
},
"./schema": {
"types": "./dist/index.schema.d.mts",
"default": "./dist/index.schema.mjs"
},
"./typings": {
"types": "./dist/sw-entry.d.mts"
},
"./worker": {
"types": "./dist/index.worker.d.mts",
"default": "./dist/index.worker.mjs"
},
"./package.json": "./package.json"
},
"dependencies": {
"browserslist": "4.28.2",
"glob": "13.0.6",
"kolorist": "1.8.0",
"semver": "7.7.4",
"zod": "4.4.1",
"@serwist/build": "9.5.11",
"@serwist/utils": "9.5.11",
"@serwist/webpack-plugin": "9.5.11",
"@serwist/window": "9.5.11",
"serwist": "9.5.11"
},
"devDependencies": {
"@rolldown/plugin-babel": "0.2.3",
"@types/node": "25.6.0",
"@types/react": "19.2.14",
"@types/semver": "7.7.1",
"@vitejs/plugin-react": "6.0.1",
"babel-plugin-react-compiler": "1.0.0",
"next": "16.2.4",
"react": "19.2.5",
"react-dom": "19.2.5",
"tsdown": "^0.21.10",
"type-fest": "5.6.0",
"typescript": "6.0.3",
"webpack": "5.106.2",
"@serwist/cli": "9.5.11"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.0.0",
"typescript": ">=5.0.0",
"@serwist/cli": "^9.5.11"
},
"peerDependenciesMeta": {
"@serwist/cli": {
"optional": true
},
"typescript": {
"optional": true
}
},
"scripts": {
"build": "rimraf dist && NODE_ENV=production tsdown",
"dev": "tsdown --watch",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}