-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.42 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
{
"name": "@autoplay/workerlog",
"version": "0.3.0",
"description": "A flexible logger for workers.",
"main": "./dist/workerlog.cjs",
"module": "./dist/workerlog.mjs",
"types": "./dist/workerlog.d.ts",
"exports": {
"import": "./dist/workerlog.mjs",
"require": "./dist/workerlog.cjs"
},
"files": [
"dist/workerlog.*",
"src/workerlog.ts"
],
"scripts": {
"test": "jest",
"ts-jest": "ts-jest",
"demo": "esbuild ./src/demo.ts --bundle --keep-names --minify --format=cjs --outfile=demo.cjs && node ./demo.cjs",
"build": "tsc && npm run build:mjs && npm run build:cjs",
"build:mjs": "esbuild src/workerlog.ts --bundle --keep-names --minify --format=esm --outfile=dist/workerlog.mjs",
"build:cjs": "esbuild src/workerlog.ts --bundle --keep-names --minify --format=cjs --outfile=dist/workerlog.cjs",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/autoplayhq/workerlog.git"
},
"keywords": [
"typescript",
"worker",
"logging",
"logger"
],
"author": "Cole Lawrence <cole@colelawrence.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/autoplayhq/workerlog/issues"
},
"homepage": "https://github.com/autoplayhq/workerlog#readme",
"devDependencies": {
"@types/jest": "^27.5.1",
"esbuild": "^0.14.26",
"jest": "^28.1.0",
"ts-jest": "^28.0.2",
"typescript": "^4.6.2"
}
}