Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Shirtiny authored Jun 25, 2021
1 parent 01b6ef9 commit 84039ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"LICENSE"
],
"scripts": {
"start": "esbuild src/main.ts --outfile=dist/main.dev.js --platform=browser --global-name=logger_ts --bundle --sourcemap=external --serve=2021 --servedir=dist",
"start": "esbuild src/main.ts --outfile=dist/main.dev.js --platform=browser --global-name=shLogger --bundle --sourcemap=external --serve=2021 --servedir=dist",
"prestart": "npm run esbuild-main:dev && shx cp -rf public/* dist/ && node node/open.js",
"esbuild-main:dev": "esbuild src/main.ts --platform=browser --global-name=logger_ts --bundle --sourcemap=external --outfile=dist/main.dev.js",
"esbuild-main:dev": "esbuild src/main.ts --platform=browser --global-name=shLogger --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=logger_ts --bundle --minify --outfile=dist/main.browser.js",
"esbuild-browser:dev": "esbuild src/browser.ts --platform=browser --global-name=logger_ts --bundle --sourcemap=external --outfile=dist/main.browser.js",
"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-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 84039ce

Please sign in to comment.