Skip to content

Commit

Permalink
v2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Shirtiny committed Jun 30, 2021
1 parent db54e5b commit 57aa0ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@shirtiny/logger",
"version": "2.1.3",
"version": "2.1.4",
"description": "Simple console log with css, write in typescript.",
"types": "./dist/types/main.d.ts",
"main": "./dist/cli.js",
"main": "./dist/main.browser.js",
"browser": "./dist/main.browser.js",
"module": "./dist/main.es.js",
"module": "./dist/main.browser.js",
"exports": {
".": {
"import": "./dist/main.es.js",
"require": "./dist/cli.js"
"import": "./dist/main.browser.js",
"require": "./dist/main.browser.js"
}
},
"bin": "./dist/cli.js",
Expand All @@ -20,15 +20,15 @@
"scripts": {
"start": "node .node/server.js",
"prestart": "npm run esbuild-main:dev && shx cp -rf public/* dist/",
"esbuild-main:dev": "esbuild src/main.ts --platform=browser --global-name=shLogger --bundle --sourcemap=external --outfile=dist/main.dev.js",
"esbuild-main:dev": "esbuild src/main.ts --platform=browser --global-name=shirtinyLogger --bundle --sourcemap=external --outfile=dist/main.dev.js",
"test": "jest",
"lint": "eslint --max-warnings 0 . --ext .ts",
"build": "tsc -p tsconfig.json",
"clean": "shx rm -rf dist build",
"ts-node": "ts-node",
"build-all": "npm run clean && npm run build && npm run esbuild-node && npm run esbuild-browser && npm run esbuild-esm",
"esbuild-browser": "esbuild src/browser.ts --platform=browser --global-name=shLogger --bundle --minify --outfile=dist/main.browser.js",
"esbuild-browser:dev": "esbuild src/browser.ts --platform=browser --global-name=shLogger --bundle --sourcemap=external --outfile=dist/main.browser.js",
"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",
"esbuild-node:dev": "esbuild src/cli.ts --bundle --platform=node --sourcemap=external --outfile=dist/cli.js",
"esbuild-esm": "esbuild src/es.ts --platform=neutral --bundle --minify --outfile=dist/main.es.js",
Expand Down

0 comments on commit 57aa0ec

Please sign in to comment.