Update clean script

This commit is contained in:
Miguel Mota 2021-04-05 21:19:15 -07:00
parent fd156e194e
commit 274be314e0
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@
"scripts": {
"test": "tape test/*.js",
"clean": "rimraf dist",
"build": "rm -rf dist/ && tsc && npm run build:browser",
"build": "npm run clean && tsc && npm run build:browser",
"build:browser": "browserify -t [ babelify --presets [ @babel/preset-env ] ] dist/index.js | uglifyjs > merkletree.js",
"lint": "standardx --fix src/*.ts test/*.js",
"docs": "rm -rf docs/ && typedoc --plugin typedoc-plugin-markdown -hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts",
"docs": "rimraf docs/ && typedoc --plugin typedoc-plugin-markdown --hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts",
"prepare": "npm run lint && npm run build"
},
"repository": {