Skip to content

Commit a98d354

Browse files
chore(package): add script build that copies and uglifies embed
1 parent eca6bd1 commit a98d354

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Mark <[email protected]>",
66
"main": "src/index.js",
77
"scripts": {
8+
"build": "mkdir -p dist && cp src/embed.js dist/embed.js && uglifyjs src/embed.js --output dist/embed.min.js --compress --mangle",
89
"commitmsg": "commitlint -e $GIT_PARAMS",
910
"lint": "eslint --ignore-path .gitignore .",
1011
"lint:fix": "npm run lint -- --fix",

0 commit comments

Comments
 (0)