UNPKG

dsw

Version:

Dynamic Service Worker, offline Progressive Web Apps much easier

70 lines (69 loc) 2.28 kB
{ "name": "dsw", "version": "1.12.2", "description": "Dynamic Service Worker, offline Progressive Web Apps much easier", "bin": { "dsw": "./bin/index.js" }, "directories": { "doc": "docs", "test": "tests" }, "environment": "node", "preferGlobal": true, "main": "./lib/dsw.js", "scripts": { "test": "exit 0", "test-sauce-labs": "node tests/index.js & testcafe 'saucelabs:Chrome@beta:Linux' tests/index.js --hostname localhost; EXIT_CODE=$?; kill $!; exit $EXIT_CODE", "test-local": "npm run start-test-server & testcafe 'chrome' tests/index.js --hostname localhost; EXIT_CODE=$?; kill $!; exit $EXIT_CODE", "start-test-server": "http-server tests/ -p 8889", "start": "npm run try", "lint": "echo ':: Linting the source files:' && eslint --ignore-pattern manifest-model.json --quiet src/** && echo 'Done linting'", "docs": "echo ':: Generating documentation:' && docco -m -o docs/ docs/config-example.js && gh-pages -d docs", "build": "npm run lint && browserify src/main.js -o dist/dsw.js -t [ babelify --presets [ es2015 ] ] && echo 'Done building'", "prepublish": "", "watch": "watch 'npm run build' src", "try": "echo ':: Trying the sandbox sample ::' && node ./bin/index.js sandbox --verbose && http-server ./sandbox -p 8888" }, "repository": { "type": "git", "url": "git+https://github.com/NascHQ/dsw.git" }, "keywords": [ "service-worker", "pwa", "progressive", "web app", "worker", "manifest", "service" ], "author": "felipenmoura", "license": "MIT", "bugs": { "url": "https://github.com/NascHQ/dsw/issues" }, "homepage": "https://github.com/NascHQ/dsw", "devDependencies": { "babel-core": "latest", "babel-loader": "latest", "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3", "babel-polyfill": "^6.9.1", "babel-preset-es2015": "latest", "babelify": "latest", "browserify": "latest", "chai": "^3.5.0", "docco": "^0.7.0", "eslint": "^3.0.1", "gh-pages": "^0.11.0", "http-server": "latest", "minifier": "^0.7.1", "testcafe": "^0.9.0", "watch": "latest" }, "dependencies": { "colors": "^1.1.2", "commander": "^2.9.0", "node-fetch": "^1.6.1" } }