UNPKG

@serwist/next

Version:

A module that integrates Serwist into your Next.js application.

100 lines 2.32 kB
{ "name": "@serwist/next", "version": "9.0.15", "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": { "*": { "worker": [ "./dist/index.worker.d.ts" ], "typings": [ "./dist/sw-entry.d.ts" ], "schema": [ "./dist/index.schema.d.ts" ] } }, "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./worker": { "types": "./dist/index.worker.d.ts", "default": "./dist/index.worker.js" }, "./typings": { "types": "./dist/sw-entry.d.ts" }, "./schema": { "types": "./dist/index.schema.d.ts", "default": "./dist/index.schema.js" }, "./package.json": "./package.json" }, "dependencies": { "chalk": "5.4.1", "glob": "10.4.5", "zod": "3.25.63", "@serwist/build": "9.0.15", "@serwist/webpack-plugin": "9.0.15", "@serwist/window": "9.0.15", "serwist": "9.0.15" }, "devDependencies": { "@types/node": "24.0.1", "next": "15.3.3", "react": "19.1.0", "react-dom": "19.1.0", "rollup": "4.43.0", "type-fest": "4.41.0", "typescript": "5.8.3", "webpack": "5.99.9", "@serwist/configs": "9.0.15", "@serwist/utils": "9.0.15" }, "peerDependencies": { "next": ">=14.0.0", "typescript": ">=5.0.0" }, "peerDependenciesMeta": { "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" } }