UNPKG

dsw

Version:

Dynamic Service Worker, offline Progressive Web Apps much easier

61 lines (60 loc) 1.86 kB
{ "name": "dsw", "version": "1.7.0", "description": "Dynamic Service Worker, offline Progressive Web Apps much easier", "bin": { "dsw": "./bin/index.js" }, "environment": "node", "preferGlobal": true, "main": "./lib/dsw.js", "scripts": { "test": "echo ':: Running tests:' && mocha tests/ --compilers js:babel-core/register", "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", "start": "npm run try" }, "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", "gh-pages": "^0.11.0", "minifier": "^0.7.1", "mocha": "latest", "watch": "latest" }, "dependencies": { "commander": "^2.9.0", "eslint": "^3.0.1", "http-server": "latest" } }