Skip to content

Commit 917d603

Browse files
🔧 Update
1 parent 6d44082 commit 917d603

File tree

2 files changed

+296
-2
lines changed

2 files changed

+296
-2
lines changed

package-lock.json

Lines changed: 290 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"highlight.js": "^11.1.0"
1111
},
1212
"devDependencies": {
13+
"@babel/cli": "^7.14.8",
1314
"@babel/core": "^7.14.8",
1415
"@babel/preset-env": "^7.14.8",
1516
"@babel/preset-typescript": "^7.14.5",
@@ -33,7 +34,8 @@
3334
"node": "^14.16.0"
3435
},
3536
"files": [
36-
"dist"
37+
"dist",
38+
"lib"
3739
],
3840
"homepage": "https://github.com/heppokofrontend/html-code-block-element#readme",
3941
"keywords": [
@@ -52,7 +54,9 @@
5254
"url": "git+https://github.com/heppokofrontend/code-block-element.git"
5355
},
5456
"scripts": {
55-
"build": "webpack --mode=production",
57+
"build": " babel ./src --out-dir ./dist --extensions \".ts\"",
58+
"postbuild": "npm run bundle",
59+
"bundle": "webpack --mode=production",
5660
"prepublishOnly": "npm run build",
5761
"prestart": "git config commit.template .gitmessage",
5862
"start": "webpack serve --mode=production",

0 commit comments

Comments
 (0)