UNPKG

sw-builder

Version:

The sw-builder package automates the creation of your Application's Service Worker, which pre-caches your build. This leads to a better overall performance and enables users to access your PWA without an Internet connection.

60 lines (59 loc) 1.87 kB
{ "name": "sw-builder", "version": "1.0.11", "description": "The sw-builder package automates the creation of your Application's Service Worker, which pre-caches your build. This leads to a better overall performance and enables users to access your PWA without an Internet connection.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "start": "ts-lib-builder --tsconfig=tsconfig.build.json", "test": "echo \"Error: tests are executed with npm run test:(integration|unit)\" && exit 1", "test:integration": "vitest run --config vitest.test-integration.config.ts", "test:unit": "vitest run --config vitest.test-unit.config.ts", "watch-test:unit": "vitest --config vitest.test-unit.config.ts", "watch-test:integration": "vitest --config vitest.test-integration.config.ts" }, "bin": { "sw-builder": "dist/index.js" }, "repository": { "type": "git", "url": "git+https://github.com/jesusgraterol/sw-builder.git" }, "keywords": [ "web", "api", "web-api", "sw", "service-worker", "cache", "pwa", "progressive", "progressive-web-application", "app", "gui", "interface", "user-interface" ], "author": "Jesus Graterol", "license": "MIT", "bugs": { "url": "https://github.com/jesusgraterol/sw-builder/issues" }, "homepage": "https://github.com/jesusgraterol/sw-builder#readme", "devDependencies": { "@types/node": "^20.17.17", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint-config-airbnb-typescript": "^18.0.0", "ts-lib-builder": "^1.0.5", "typescript": "^5.7.3", "vitest": "^3.0.7" }, "dependencies": { "argv-utils": "^1.0.3", "error-message-utils": "^1.1.2", "fs-utils-sync": "^1.0.3", "web-utils-kit": "^1.0.5" } }