Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Adds npm managed less files to java deliverable
Browse files Browse the repository at this point in the history
  • Loading branch information
vertein committed Oct 28, 2016
1 parent 0a828e0 commit 05e2738
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -9,7 +9,11 @@
"prebuild-docs": "npm run build-static && rimraf docs/target && mkdir -p docs/target",
"build-docs": "cp -r uw-frame-static/target/* docs/target && cp -r docs/js docs/img docs/markdown docs/my-app docs/superstatic.json docs/target",
"postbuild-docs": "htmlprocessor docs/index.html -o docs/target/index.html",
"prepackage-java": "mkdir -p uw-frame-java/target/frame/css/themes && rm -f uw-frame-java/target/frame/css/themes/*.css && cp uw-frame-static/target/css/themes/*.css uw-frame-java/target/frame/css/themes/ && for file in uw-frame-java/target/frame/css/themes/*.css; do mv $file uw-frame-java/target/frame/css/themes/$(basename $file .css).$npm_package_config_javaversion.css; done",
"mv-rename-theme-css": "cp uw-frame-static/target/css/themes/*.css uw-frame-java/target/frame/css/themes/ && for file in uw-frame-java/target/frame/css/themes/*.css; do mv $file uw-frame-java/target/frame/css/themes/$(basename $file .css).$npm_package_config_javaversion.css; done",
"cp-fa-css": "mkdir -p uw-frame-java/target/frame/css/themes/node_modules/font-awesome/css/ && cp -r node_modules/font-awesome/* uw-frame-java/target/frame/css/themes/node_modules/font-awesome/",
"cp-normalize-less": "mkdir -p uw-frame-java/target/frame/css/themes/node_modules/normalize.less/ && cp -r node_modules/normalize.less/* uw-frame-java/target/frame/css/themes/node_modules/normalize.less/",
"cp-bootstrap-less": "mkdir -p uw-frame-java/target/frame/css/themes/node_modules/bootstrap/less/ && cp -r node_modules/bootstrap/* uw-frame-java/target/frame/css/themes/node_modules/bootstrap/",
"prepackage-java": "mkdir -p uw-frame-java/target/frame/css/themes && rm -f uw-frame-java/target/frame/css/themes/*.css; npm run mv-rename-theme-css; npm run cp-fa-css; npm run cp-normalize-less; npm run cp-bootstrap-less",
"build-java": "cd uw-frame-java && mvn clean install",
"prebuild-static": "rimraf uw-frame-static/target && mkdir uw-frame-static/target",
"build-static": "node tools/uw-frame-static/build.js",
Expand Down

0 comments on commit 05e2738

Please sign in to comment.