@serwist/next
Version:
A module that integrates Serwist into your Next.js application.
124 lines • 2.9 kB
JSON
{
"name": "@serwist/next",
"version": "9.5.6",
"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.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"config": [
"./dist/index.config.d.ts"
],
"react": [
"./dist/index.react.d.ts"
],
"schema": [
"./dist/index.schema.d.ts"
],
"typings": [
"./dist/sw-entry.d.ts"
],
"worker": [
"./dist/index.worker.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./config": {
"types": "./dist/index.config.d.ts",
"default": "./dist/index.config.js"
},
"./react": {
"types": "./dist/index.react.d.ts",
"default": "./dist/index.react.js"
},
"./schema": {
"types": "./dist/index.schema.d.ts",
"default": "./dist/index.schema.js"
},
"./typings": {
"types": "./dist/sw-entry.d.ts"
},
"./worker": {
"types": "./dist/index.worker.d.ts",
"default": "./dist/index.worker.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"browserslist": "4.28.1",
"glob": "10.5.0",
"kolorist": "1.8.0",
"semver": "7.7.3",
"zod": "4.3.6",
"@serwist/build": "9.5.6",
"@serwist/webpack-plugin": "9.5.6",
"@serwist/window": "9.5.6",
"serwist": "9.5.6",
"@serwist/utils": "9.5.6"
},
"devDependencies": {
"@types/node": "25.1.0",
"@types/react": "19.2.10",
"@types/semver": "7.7.1",
"next": "16.1.6",
"react": "19.2.4",
"react-dom": "19.2.4",
"rollup": "4.57.0",
"type-fest": "5.4.2",
"typescript": "5.9.3",
"webpack": "5.104.1",
"@serwist/cli": "9.5.6",
"@serwist/configs": "9.5.6"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.0.0",
"typescript": ">=5.0.0",
"@serwist/cli": "^9.5.6"
},
"peerDependenciesMeta": {
"@serwist/cli": {
"optional": true
},
"typescript": {
"optional": true
}
},
"scripts": {
"build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js --watch",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}