1 | {
|
2 | "name": "comlink",
|
3 | "version": "4.4.1",
|
4 | "description": "Comlink makes WebWorkers enjoyable",
|
5 | "main": "dist/umd/comlink.js",
|
6 | "module": "dist/esm/comlink.mjs",
|
7 | "types": "dist/umd/comlink.d.ts",
|
8 | "sideEffects": false,
|
9 | "scripts": {
|
10 | "build": "rollup -c",
|
11 | "test:unit": "karma start",
|
12 | "test:node": "mocha ./tests/node/main.mjs",
|
13 | "test:types": "tsc -p ./tests/tsconfig.json",
|
14 | "test:types:watch": "npm run test:types -- --watch",
|
15 | "test": "npm run fmt_test && npm run build && npm run test:types && npm run test:unit && npm run test:node",
|
16 | "fmt": "prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'",
|
17 | "fmt_test": "test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0",
|
18 | "watchtest": "CHROME_ONLY=1 karma start --no-single-run"
|
19 | },
|
20 | "author": {
|
21 | "name": "Surma",
|
22 | "email": "surma@google.com"
|
23 | },
|
24 | "repository": {
|
25 | "type": "git",
|
26 | "url": "https://github.com/GoogleChromeLabs/comlink.git"
|
27 | },
|
28 | "license": "Apache-2.0",
|
29 | "devDependencies": {
|
30 | "@rollup/plugin-terser": "0.4.0",
|
31 | "@rollup/plugin-typescript": "11.0.0",
|
32 | "chai": "^4.3.7",
|
33 | "conditional-type-checks": "1.0.6",
|
34 | "husky": "8.0.3",
|
35 | "karma": "6.4.1",
|
36 | "karma-chai": "0.1.0",
|
37 | "karma-chrome-launcher": "3.1.1",
|
38 | "karma-detect-browsers": "2.3.3",
|
39 | "karma-firefox-launcher": "2.1.2",
|
40 | "karma-mocha": "2.0.1",
|
41 | "karma-safari-launcher": "1.0.0",
|
42 | "karma-safaritechpreview-launcher": "2.0.2",
|
43 | "mocha": "10.2.0",
|
44 | "prettier": "2.8.3",
|
45 | "rimraf": "4.1.2",
|
46 | "rollup": "3.10.1",
|
47 | "tslib": "2.4.1",
|
48 | "typescript": "4.9.4"
|
49 | }
|
50 | }
|