Skip to content

Commit

Permalink
add css banner
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed May 6, 2018
1 parent 4cbf233 commit 262a0eb
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 1 deletion.
174 changes: 174 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -27,9 +27,10 @@
"build:main:min": "webpack --config ./build-config/webpack.prod.main.js",
"build:dev": "npm run build:main",
"build:min": "npm run build:main:min",
"build:css": "npm-run-all -s build:css:sass build:css:compress",
"build:css": "npm-run-all -s build:css:sass build:css:compress build:css:banner",
"build:css:sass": "node-sass --include-path src/css src/css/videojs.wavesurfer.scss dist/css/videojs.wavesurfer.css",
"build:css:compress": "cleancss -o dist/css/videojs.wavesurfer.min.css dist/css/videojs.wavesurfer.css",
"build:css:banner": "replace-in-file LIB_VERSION $npm_package_version dist/css/videojs.wavesurfer*.css",
"docs": "npm-run-all docs:*",
"docs:api": "jsdoc src/js -r -d docs/api",
"lint": "npm-run-all lint:*",
Expand Down Expand Up @@ -81,6 +82,7 @@
"moment": "^2.22.1",
"node-sass": "^4.9.0",
"npm-run-all": "^4.1.3",
"replace-in-file": "^3.4.0",
"rimraf": "^2.6.2",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.7.0",
Expand Down
4 changes: 4 additions & 0 deletions src/css/videojs.wavesurfer.scss
@@ -1,2 +1,6 @@
/*!
Default styles for videojs-wavesurfer LIB_VERSION
*/

@import "main";
@import "fluid";

0 comments on commit 262a0eb

Please sign in to comment.