"browserify": "^11.2.0",
"browserify-header": "^0.9.2",
"chai": "^3.3.0",
+ "clean-css": "^3.4.23",
"coveralls": "^2.11.2",
"envify": "^3.4.0",
"exorcist": "^0.4.0",
# Build GWT JAR
jar -cf dist/dygraph-gwt.jar -C gwt org
+# Minify CSS
+cp css/dygraph.css dist/
+cleancss css/dygraph.css -o dist/dygraph.min.css --source-map --source-map-inline-sources
+
# Remove temp files.
rm dist/dygraph.tmp.js
rm dist/dygraph.tmp.js.map
# Copy everything to the site.
rsync -avzr src src/extras gallery common tests jsdoc $site \
&& \
- rsync -avzr --copy-links dist/* css/* thumbnail.png screenshot.png $temp_dir/* $site/
+ rsync -avzr --copy-links dist/* thumbnail.png screenshot.png $temp_dir/* $site/
else
echo "generate-documentation.py failed"
fi