-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 1.74 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
{
"name": "worka",
"version": "12.0.0",
"description": "web workers results in promises",
"license": "BSL-1.0",
"type": "module",
"main": "source/worka.js",
"scripts": {
"lint-fix": "eslint --ignore-path .gitignore --fix source examples",
"lint": "eslint --ignore-path .gitignore source examples",
"build-glue-exports": "node tools/glueAsExportedString.js",
"build-browser": "rollup source/worka.js --output.format iife --output.name \"worka\" --output.file built/worka.iife.js",
"build-node": "rollup source/worka.js --output.format cjs --output.name \"worka\" --output.file built/worka.cjs",
"bundle": "npm run build-glue-exports && npm run build-browser && npm run build-node",
"prepublishOnly": "npm run bundle",
"try": "node examples/index.js 8080",
"prepare-example": "node source/decorateWorker.js examples/node/sort.js sort_worka.js",
"node-example": "node examples/node/file_usage.js",
"deno-example": "deno run --allow-read examples/deno/file_usage.js"
},
"devDependencies": {
"eslint": "^8.5.0",
"eslint-config-red": "^1.9.0",
"filesac": "^13.0.0",
"rollup": "^2.61.1"
},
"eslintConfig": {
"extends": [
"red"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"ecmaFeatures": {}
},
"env": {
"es2021": true,
"browser": true,
"node": true
},
"rules": {}
},
"files": [
"built",
"source",
"readme.md",
"LICENSE.txt",
"changelog.md"
],
"repository": {
"type": "git",
"url": "git://github.com/GrosSacASac/worka.git"
},
"keywords": [
"web",
"worker",
"promise",
"array",
"parallel"
]
}