-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1 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
{
"name": "log-extra",
"version": "0.0.4",
"description": "Yet another log tool",
"main": "index.js",
"browser": "browser.js",
"module": "module/index.mjs",
"scripts": {
"start": "tsc -w",
"prebuild": "rm dist -rf",
"build:cjs": "tsc",
"build:browser": "webpack --entry ./src/browser.ts -p -o dist/browser.js --output-library=Logger --output-library-target=window --module-bind ts=ts-loader --resolve-extensions .ts --devtool source-map",
"build:mjs": "ts-repack mjs -o dist/module",
"build": "npm run build:cjs && npm run build:mjs && npm run build:browser"
},
"keywords": [
"log"
],
"author": "HairyRabbit <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^24.0.15",
"@types/node": "^12.0.8",
"ts-loader": "^6.0.4",
"ts-repack": "0.0.9",
"typescript": "^3.5.2",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5"
},
"dependencies": {
"chalk": "^2.4.1",
"tslib": "^1.10.0",
"util-extra": "0.0.19"
}
}