combined everything into one JS file

This commit is contained in:
Joshua Seigler 2016-05-08 17:26:30 -04:00
parent 7afabe0f34
commit 367a76894a
5 changed files with 28 additions and 204 deletions

View file

@ -4,8 +4,9 @@
"description": "Embeddable dash price widget",
"scripts": {
"lint": "echo '=> linting' && jshint assets/scripts/*.js",
"inline": "echo '=> inlining' && inline-assets assets/index.html dist/index.html",
"test": "npm run -s lint && npm run -s inline"
"compress": "echo '=> compressing JS' && uglifyjs assets/scripts/app.js --output dist/scripts/app.js",
"copy": "echo '=> copying HTML' && cp assets/index.html dist/index.html",
"test": "npm run -s lint && npm run -s copy && npm run -s compress"
},
"repository": {
"type": "git",
@ -18,7 +19,6 @@
},
"homepage": "https://github.com/seigler/Dash-html-ticker#readme",
"devDependencies": {
"inline-assets": "^1.0.0",
"jshint": "^2.9.2",
"uglify-js": "^2.6.2"
}