mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-24 11:39:18 -05:00
Clear dist before publish (#1480)
This is so that we do not keep old files around. Fixes #1380
This commit is contained in:
committed by
Aaron Boodman
parent
2b671664a1
commit
d125446955
+1
-1
@@ -38,7 +38,7 @@
|
||||
"pretest": "eslint src/ && flow src/",
|
||||
"ts": "mocha --ui tdd --timeout=4000 --reporter spec --slow=50 --invert --grep='LONG:' --compilers js:babel-core/register src/*-test.js",
|
||||
"test": "mocha --ui tdd --timeout=3000 --reporter dot --compilers js:babel-core/register src/*-test.js",
|
||||
"prepublish": "npm run compile && npm run copy-flow-files",
|
||||
"prepublish": "rm -rf dist/ && npm run compile && npm run copy-flow-files",
|
||||
"compile": "npm run compile-to-commonjs && npm run compile-to-es6",
|
||||
"compile-to-commonjs": "BABEL_ENV=production babel -d dist/commonjs src/",
|
||||
"compile-to-es6": "BABEL_ENV=es6 babel -d dist/es6 src/",
|
||||
|
||||
Reference in New Issue
Block a user