UNPKG

1.55 kBJSONView Raw
1{
2 "name": "comlink-loader",
3 "version": "2.0.0",
4 "description": "Webpack loader: offload modules to Worker threads seamlessly using Comlink",
5 "main": "dist/comlink-loader.js",
6 "repository": "GoogleChromeLabs/comlink-loader",
7 "scripts": {
8 "build": "microbundle --inline none --format cjs --no-compress src/*.js",
9 "prepublishOnly": "npm run build",
10 "dev": "karmatic watch --no-headless",
11 "test": "npm run build && karmatic --no-coverage",
12 "release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
13 },
14 "eslintConfig": {
15 "extends": "developit",
16 "rules": {
17 "import/no-webpack-loader-syntax": false,
18 "indent": [
19 "error",
20 2
21 ]
22 }
23 },
24 "files": [
25 "src",
26 "dist"
27 ],
28 "keywords": [
29 "webpack",
30 "loader",
31 "worker",
32 "web worker",
33 "thread",
34 "comlink"
35 ],
36 "author": "The Chromium Authors",
37 "contributors": [
38 {
39 "name": "Jason Miller",
40 "email": "developit@google.com"
41 },
42 {
43 "name": "Jasper Palfree",
44 "email": "jasper@wellcaffeinated.net"
45 }
46 ],
47 "license": "Apache-2.0",
48 "devDependencies": {
49 "eslint": "^4.16.0",
50 "eslint-config-developit": "^1.1.1",
51 "jasmine-sinon": "^0.4.0",
52 "karmatic": "^1.4.0",
53 "microbundle": "^0.11.0",
54 "sinon": "^8.0.4",
55 "webpack": "^4.41.2"
56 },
57 "dependencies": {
58 "comlink": "^4.2.0",
59 "loader-utils": "^1.1.0",
60 "slash": "^3.0.0",
61 "worker-loader": "^2.0.0"
62 }
63}