Archived
1
0

Allow logger package to be publishable (#37)

This commit is contained in:
Kyle Carberry
2019-03-04 09:57:29 -08:00
committed by Asher
parent 68cb387fff
commit 90d3a0f16a
5 changed files with 44 additions and 4 deletions

View File

@ -1,5 +1,13 @@
{
"name": "@coder/logger",
"description": "Beautiful client logging inspired by https://github.com/uber-go/zap.",
"main": "src/index.ts"
"name": "@coder/logger",
"description": "Beautiful logging inspired by https://github.com/uber-go/zap.",
"scripts": {
"build": "tsc -p tsconfig.build.json && cp ./out/packages/logger/src/* ./out && rm -rf out/packages && ../../node_modules/.bin/webpack --config ./webpack.config.js",
"postinstall": "if [ ! -d out ];then npm run build; fi"
},
"version": "1.0.3",
"main": "out/main.js",
"types": "out/index.d.ts",
"author": "Coder",
"license": "MIT"
}