-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
71 lines (71 loc) · 1.67 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
{
"name": "web-worker",
"version": "1.3.0",
"description": "Consistent Web Workers in browser and Node.",
"main": "./cjs/node.js",
"browser": "./cjs/browser.js",
"types": "./index.d.ts",
"exports": {
"types": "./index.d.ts",
"import": {
"bun": "./browser.js",
"browser": "./browser.js",
"default": "./node.js"
},
"module": {
"bun": "./browser.js",
"browser": "./browser.js",
"default": "./node.js"
},
"default": {
"bun": "./cjs/browser.js",
"browser": "./cjs/browser.js",
"default": "./cjs/node.js"
}
},
"files": [
"cjs",
"browser.js",
"node.js",
"index.d.ts"
],
"scripts": {
"prepare": "babel node.js browser.js -d cjs",
"test": "eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava"
},
"babel": {
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"babel-plugin-commonjs-lite"
]
},
"repository": "developit/web-worker",
"keywords": [
"worker",
"worker_threads",
"webworker",
"web worker",
"web-worker",
"threads"
],
"authors": [],
"license": "Apache-2.0",
"homepage": "https://github.com/developit/web-worker",
"eslintConfig": {
"extends": "developit",
"rules": {
"no-console": 0
}
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.21",
"ava": "2.4",
"babel-plugin-commonjs-lite": "gist:3e38560d5bed35da1fd708d635e4acb3",
"eslint": "^7.32.0",
"eslint-config-developit": "^1.2.0",
"eslint-plugin-compat": "^4.2.0"
}
}