Skip to content

Commit 8b973fb

Browse files
committed
fix(npm): add distribution folder to npm
1 parent 2877cc9 commit 8b973fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
"repository": "https://github.com/jethrokuan/sharedb-ace",
77
"author": "Jethro Kuan",
88
"files": [
9-
"dist"
9+
"dist", "distribution"
1010
],
1111
"license": "MIT",
1212
"scripts": {
13-
"build": "babel source --presets babel-preset-latest --out-dir distribution",
13+
"build": "npm run build:npm && npm run build:dist",
14+
"build:npm": "babel source --presets babel-preset-latest --out-dir distribution",
1415
"build:dist": "webpack",
1516
"watch": "yarn run build",
1617
"test": "echo 'doing nothing'",

0 commit comments

Comments
 (0)