forked from GoogleChromeLabs/comlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.64 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
{
"name": "comlink",
"version": "4.1.0",
"description": "Comlink makes WebWorkers enjoyable",
"main": "dist/umd/comlink.js",
"module": "dist/esm/comlink.mjs",
"types": "dist/umd/comlink.d.ts",
"scripts": {
"build": "rollup -c",
"test:unit": "karma start",
"test:types": "tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts",
"test": "npm run fmt_test && npm run build && npm run test:types && npm run test:unit",
"fmt": "prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}",
"fmt_test": "test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0",
"watchtest": "CHROME_ONLY=1 karma start --no-single-run"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"author": {
"name": "Surma",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/GoogleChromeLabs/comlink.git"
},
"license": "Apache-2.0",
"devDependencies": {
"chai": "4.2.0",
"conditional-type-checks": "1.0.1",
"husky": "3.0.9",
"karma": "4.4.1",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-detect-browsers": "2.3.3",
"karma-firefox-launcher": "1.2.0",
"karma-mocha": "1.3.0",
"karma-safari-launcher": "1.0.0",
"karma-safaritechpreview-launcher": "2.0.2",
"mocha": "6.2.2",
"prettier": "1.18.2",
"rimraf": "3.0.0",
"rollup": "1.26.2",
"rollup-plugin-terser": "5.1.2",
"rollup-plugin-typescript2": "0.24.3",
"typescript": "3.6.4"
},
"dependencies": {}
}