Skip to content

Commit 8370a75

Browse files
committed
Split out build from doPublish to facilitate local development
1 parent 33c77e9 commit 8370a75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:jest": "jest",
2626
"test": "npm run test:eslint && npm run test:prettier && npm run test:jest",
2727
"clean": "rm -rf __tests__ PivotTable.js* PivotTableUI.js* PlotlyRenderers.js* TableRenderers.js* Utilities.js* pivottable.css",
28-
"doPublish": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=env,react --plugins babel-plugin-add-module-exports && npm publish",
28+
"build": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=env,react --plugins babel-plugin-add-module-exports",
29+
"doPublish": "npm run build && npm publish",
2930
"postpublish": "npm run clean",
3031
"deploy": "webpack -p && mv bundle.js examples && cd examples && git init && git add . && git commit -m build && git push --force [email protected]:plotly/react-pivottable.git master:gh-pages && rm -rf .git bundle.js"
3132
},

0 commit comments

Comments
 (0)