-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
83 lines (83 loc) · 2.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "promise-worker",
"version": "2.0.1",
"description": "Communicate with a Web Worker using Promises",
"main": "index.js",
"scripts": {
"prepublish": "npm run build",
"build": "rimraf dist && mkdirp dist && browserify -s PromiseWorker -p bundle-collapser/plugin . > dist/promise-worker.js && browserify -s registerPromiseWorker -p bundle-collapser/plugin register.js > dist/promise-worker.register.js && uglifyjs -mc < dist/promise-worker.js > dist/promise-worker.min.js && uglifyjs -mc < dist/promise-worker.register.js > dist/promise-worker.register.min.js",
"build-test": "node bin/build-worker-bundles.js",
"test": "npm run build-test && mocha test/test.js",
"test-local": "npm run build-test && zuul --local 9000 --no-coverage test/test.js",
"test-browser": "npm run build-test && zuul --no-coverage ./test/test.js",
"lint": "standard",
"istanbul-combine": "istanbul-combine -d coverage -r json coverage/coverage.json coverage/coverage-worker.json && mv coverage/coverage-final.json coverage/coverage.json && rimraf coverage/coverage-worker.json",
"istanbul-check": "istanbul check-coverage --lines 100 --function 100 --statements 100 --branches 100",
"test-for-coverage": "istanbul cover ./node_modules/.bin/_mocha ./test/test.js",
"istanbul-report": "istanbul report lcov",
"coverage": "COVERAGE=1 run-scripts build-test test-for-coverage istanbul-combine istanbul-report istanbul-check",
"report-coverage": "npm run coverage && istanbul-coveralls"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nolanlawson/promise-worker.git"
},
"keywords": [
"web worker",
"promise",
"webworker",
"worker"
],
"author": "Nolan Lawson <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nolanlawson/promise-worker/issues"
},
"homepage": "https://github.com/nolanlawson/promise-worker#readme",
"devDependencies": {
"assert": "^1.3.0",
"browserify": "^16.2.2",
"bundle-collapser": "^1.2.1",
"denodeify": "^1.2.1",
"glob-promise": "^3.4.0",
"istanbul": "^0.4.2",
"istanbul-combine": "^0.3.0",
"istanbul-coveralls": "^1.0.3",
"istanbulify": "^0.1.0",
"lie": "^3.3.0",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
"pseudo-worker": "^1.1.0",
"rimraf": "^2.5.3",
"run-scripts": "^0.4.0",
"standard": "^12.0.1",
"stream-to-promise": "^1.1.0",
"uglify-js": "^3.4.9",
"zuul": "^3.10.1",
"zuul-ngrok": "nolanlawson/zuul-ngrok#patch-1"
},
"dependencies": {},
"standard": {
"globals": [
"self",
"Worker",
"it",
"describe",
"after",
"before",
"MessageChannel",
"__coverage__"
],
"ignore": [
"test/bundle",
"dist"
]
},
"files": [
"index.js",
"index.d.ts",
"register.js",
"register.d.ts",
"dist"
]
}