Skip to content

Commit 1d286b9

Browse files
committed
Simplify npm build
1 parent 64b08c3 commit 1d286b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"dist/piling-dimensionality-reducer.esm.js"
4040
],
4141
"scripts": {
42-
"build": "npm run build-library; npm run build-webpage;",
43-
"build-library": "rm -rf dist/*; rollup -c;",
42+
"build": "rm -rf dist/*; rollup -c;",
4443
"build-webpage": "mkdir -p webpage-build; rm -rf webpage-build/*; cd webpage && npm run build && cd ..; webpack --config ./webpack.config.js --mode production; cp -r webpage/public/* webpage-build; touch webpage-build/demos/.nojekyll; ./copy-example-data.sh;",
4544
"deploy": "npm run build-webpage; gh-pages -d webpage-build -t --git git",
4645
"lint": "eslint src examples rollup.config.js webpack.config.js",

0 commit comments

Comments
 (0)