set up inlining and minifying

This commit is contained in:
Joshua 2016-04-28 01:54:51 -04:00
parent 4dd6e2020b
commit 8cf456f7aa
4 changed files with 61 additions and 121 deletions

View file

@ -1,22 +1,25 @@
{
"name": "dash-price-ticker"
, "version": "1.0.0"
, "description": "Embeddable dash price widget"
, "scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "echo '=> linting' && jshint assets/scripts/*.js"
}
, "repository": {
"type": "git"
, "url": "git+https://github.com/seigler/Dash-html-ticker.git"
}
, "author": "Joshua Seigler"
, "license": "ISC"
, "bugs": {
"url": "https://github.com/seigler/Dash-html-ticker/issues"
}
, "homepage": "https://github.com/seigler/Dash-html-ticker#readme"
, "devDependencies": {
"jshint": "^2.9.2"
}
"name": "dash-price-ticker",
"version": "1.0.0",
"description": "Embeddable dash price widget",
"scripts": {
"test": "npm run -s lint",
"lint": "echo '=> linting' && jshint assets/scripts/*.js",
"inline": "echo '=> inlining' && inline-assets --cssmin --htmlmin assets/index.html dist/index.html",
"install": "npm run -s lint && npm run -s inline"
},
"repository": {
"type": "git",
"url": "git+https://github.com/seigler/Dash-html-ticker.git"
},
"author": "Joshua Seigler",
"license": "ISC",
"bugs": {
"url": "https://github.com/seigler/Dash-html-ticker/issues"
},
"homepage": "https://github.com/seigler/Dash-html-ticker#readme",
"devDependencies": {
"inline-assets": "^1.0.0",
"jshint": "^2.9.2"
}
}