fixes npm build script syntax, builds latest dist, adds sourcemap file for the umd version

This commit is contained in:
archaeal
2020-06-26 17:27:43 -05:00
parent bce5abde01
commit 0e4abc143b
6 changed files with 6 additions and 7 deletions

View File

@@ -28,7 +28,7 @@
"umd:main": "dist/color-thief.umd.js",
"amdName": "ColorThief",
"scripts": {
"build": "microbundle --no-sourcemap; node ./build/build.js",
"build": "microbundle --no-sourcemap && node ./build/build.js",
"watch": "microbundle watch --no-sourcemap",
"dev": "http-server",
"test": "mocha && cypress run --config video=false",