chore: remove grunt and clean-up (#7845)

* chore: remove grunt files and deps

* chore: npm scripts cleanup

* chore: more deps clean-up

* chore: tsconfig clean-up

* chore: remove unneed file

* chore: move tsinfig.unit-tests

* chore: add dist/ exclude
This commit is contained in:
Alexander Vakrilov
2019-10-03 14:50:59 +03:00
committed by GitHub
parent beffc5736a
commit 82f2ccbdfb
15 changed files with 93 additions and 629 deletions

View File

@ -36,16 +36,6 @@ extract_snippets() {
archive_dist_dir "snippets"
}
extract_cookbook() {
COOKBOOK_DIR="$DIST_DIR/cookbook"
rm -rf "$COOKBOOK_DIR"
npm_install
grunt articles
mv "$DIST_DIR/articles" "$COOKBOOK_DIR"
archive_dist_dir "cookbook"
}
extract_apiref() {
APIREF_DIR="$DIST_DIR/api-reference"
rm -rf "$APIREF_DIR"
@ -62,6 +52,5 @@ mkdir -p "$TARGET_DIR"
if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
extract_snippets
extract_cookbook
extract_apiref
fi