-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
69 lines (69 loc) · 2.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"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"
}
}