Skip to content

Commit

Permalink
improve the prebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
huang2002 committed Feb 10, 2019
1 parent 491c256 commit f526036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "dist/hyper-ui.core.min.js",
"types": "index.d.ts",
"scripts": {
"prebuild": "rm -rf dist typings raw",
"prebuild": "rm -rf dist typings raw & exit 0",
"build": "tsc && rollup -c",
"postbuild": "terser dist/hyper-ui.core.js --config-file terser.json --module -o dist/hyper-ui.core.min.js && terser dist/hyper-ui.core.umd.js --config-file terser.json -o dist/hyper-ui.core.umd.min.js && node stat",
"test": "cd test && tsc && echo Please open test/test.html to test it."
Expand Down Expand Up @@ -45,4 +45,4 @@
"terser": "^3.16.1",
"typescript": "^3.3.3"
}
}
}

0 comments on commit f526036

Please sign in to comment.