diff --git a/package.json b/package.json index 2828261..643a4dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shirtiny/logger", - "version": "3.0.1", + "version": "3.1.0", "description": "Simple console log with css, write in typescript.", "types": "./dist/types/main.d.ts", "main": "./dist/main.es.js", @@ -27,7 +27,8 @@ "build-type": "tsc -p tsconfig.json", "clean": "shx rm -rf dist build", "ts-node": "ts-node", - "build": "npm run clean && npm run build-type && npm run esbuild-node && npm run esbuild-browser && npm run esbuild-esm", + "line": "node .node/line.js --files=./dist/main.es.js,./dist/main.browser.js", + "build": "npm run clean && npm run build-type && npm run esbuild-node && npm run esbuild-browser && npm run esbuild-esm & npm run line", "esbuild-browser": "esbuild src/browser.ts --platform=browser --global-name=ShirtinyLogger --bundle --minify --outfile=dist/main.browser.js", "esbuild-browser:dev": "esbuild src/browser.ts --platform=browser --global-name=ShirtinyLogger --bundle --sourcemap=external --outfile=dist/main.browser.js", "esbuild-node": "esbuild src/cli.ts --bundle --platform=node --minify --outfile=dist/cli.js", @@ -70,6 +71,7 @@ "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^3.4.0", "jest": "27.0.3", + "minimist": "^1.2.7", "open": "^8.2.0", "prettier": "^2.3.0", "shx": "^0.3.3",