-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
59 lines (59 loc) · 1.84 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
{
"name": "synclink",
"version": "0.2.4",
"description": "Synchronously or asynchronously communicate with a worker",
"main": "dist/cjs/synclink.js",
"module": "dist/esm/synclink.mjs",
"types": "dist/types/synclink.d.ts",
"exports": {
".": {
"types": "./dist/types/synclink.d.ts",
"require": "./dist/cjs/synclink.js",
"import": "./dist/esm/synclink.mjs"
}
},
"sideEffects": false,
"scripts": {
"build": "npm run rimraf && npm run tsc && node esbuild.mjs",
"rimraf": "rimraf ./dist",
"tsc": "tsc --outDir ./dist/types",
"test:unit": "karma start",
"test:types": "tsc -p ./tests/tsconfig.json",
"test:types:watch": "npm run test:types -- --watch",
"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": "prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}'",
"watchtest": "CHROME_ONLY=1 karma start --no-single-run"
},
"husky": {
"hooks": {}
},
"author": {
"name": "Hood Chatham",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/pyodide/synclink.git"
},
"license": "Apache-2.0",
"devDependencies": {
"chai": "4.2.0",
"conditional-type-checks": "1.0.5",
"esbuild": "^0.17.15",
"husky": "4.2.5",
"karma": "^6.4.1",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-detect-browsers": "2.3.3",
"karma-firefox-launcher": "1.3.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-safari-launcher": "1.0.0",
"karma-safaritechpreview-launcher": "2.0.2",
"mocha": "^7.2.0",
"prettier": "2.0.5",
"rimraf": "3.0.2",
"typescript": "4.8"
}
}