Skip to content

Commit

Permalink
build: add dev watcher scripts with source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
snickbit committed May 5, 2022
1 parent 5f3cf48 commit 0f16493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
"start": "node bin/fa.js",
"clean": "shx rm -rf ./dist ./bin",
"index": "indexer src/actions",
"esbuild": "esbuild src/cli.ts --bundle --outfile=bin/fa.js --target=node12 --platform=node --external:@fortawesome/* --sourcemap",
"build": "npm run clean && npm run build:lib && npm run build:cli",
"build:lib": "tsup",
"build:cli": "esbuild src/cli.ts --bundle --outfile=bin/fa.js --target=node12 --platform=node --external:@fortawesome/* --sourcemap",
"build:cli": "npm run esbuild",
"build:meta": "npm run build:cli --minify --metafile=.meta.json",
"watch": "concurrently -n lib,cli \"npm run watch:lib\" \"npm run watch:cli\"",
"watch:lib": "npm run build:lib --watch",
Expand Down

0 comments on commit 0f16493

Please sign in to comment.