diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-09 12:31:09 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-09 18:20:48 -0200 |
commit | 788fd1f471473f4cdfd58f8dc51f8c59cf236e67 (patch) | |
tree | 879b0d1e47b1f21b57152dde71200f730b211d90 /web-ui/package.json | |
parent | 0b8600a47d2f9ae6d10bfeb059f032c65bbc3ccb (diff) |
Getting rid of grunt; using npm scripts instead
Diffstat (limited to 'web-ui/package.json')
-rw-r--r-- | web-ui/package.json | 56 |
1 files changed, 16 insertions, 40 deletions
diff --git a/web-ui/package.json b/web-ui/package.json index 60736713..d13d42a5 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -3,55 +3,31 @@ "version": "0.0.0", "devDependencies": { "bower": "1.3.12", - "connect-livereload": "0.5.2", - "express": "4.10.4", - "generator-flight": "0.8.0", - "grunt": "^0.4.5", - "grunt-autoprefixer": "2.0.0", - "grunt-build-control": "0.2.2", - "grunt-cli": "^0.1.13", - "grunt-concurrent": "1.0.0", - "grunt-contrib-clean": "0.6.0", - "grunt-contrib-coffee": "0.12.0", - "grunt-contrib-compass": "1.0.1", - "grunt-contrib-compress": "0.12.0", - "grunt-contrib-concat": "0.5.0", - "grunt-contrib-connect": "0.9.0", - "grunt-contrib-copy": "0.7.0", - "grunt-contrib-cssmin": "0.10.0", - "grunt-contrib-handlebars": "^0.8.0", - "grunt-contrib-htmlmin": "0.3.0", - "grunt-contrib-imagemin": "0.9.2", - "grunt-contrib-jshint": "0.10.0", - "grunt-contrib-requirejs": "~0.4.4", - "grunt-contrib-uglify": "0.6.0", - "grunt-contrib-watch": "0.6.1", - "grunt-google-cdn": "0.4.3", - "grunt-karma": "0.9.0", - "grunt-newer": "0.8.0", - "grunt-ngmin": "0.0.3", - "grunt-regex-replace": "^0.2.6", - "grunt-rev": "~0.1.0", - "grunt-svgmin": "2.0.0", - "grunt-usemin": "2.6.2", "handlebars": "2.0.0", + "html-minifier": "^0.6.9", + "imagemin": "3.1.0", + "jshint": "2.5.10", "jshint-stylish": "1.0.0", "karma": "0.12.28", "karma-chrome-launcher": "0.1.7", "karma-firefox-launcher": "0.1.3", "karma-jasmine": "0.2.2", - "karma-junit-reporter": "^0.2.2", + "karma-junit-reporter": "0.2.2", "karma-phantomjs-launcher": "0.1.4", "karma-requirejs": "0.2.2", - "karma-safari-launcher": "~0.1.1", - "load-grunt-tasks": "1.0.0", - "node-static": "0.7.6", - "requirejs": "2.1.15", - "time-grunt": "1.0.0", - "tiny-lr": "0.1.4" + "requirejs": "2.1.15" }, "scripts": { - "test": "karma start --single-run --browsers PhantomJS", - "watch-test": "karma start" + "test": "npm run clean && npm run handlebars && node_modules/karma/bin/karma start --single-run --browsers PhantomJS $GRUNT_OPTS", + "watch-test": "node_modules/karma/bin/karma start", + "handlebars": "handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .", + "compass": "compass compile", + "build": "npm run clean && npm run handlebars && npm run compass", + "jshint": "node_modules/.bin/jshint --config=.jshintrc `find app -name '*.js' | grep -v -e 'lib' -e 'bower' -e 'generated'`", + "clean": "rm -rf .tmp/ dist/**/* app/js/generated/hbs/* app/css/*", + "buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js", + "package": "/bin/bash config/package.sh", + "imagemin": "node config/imagemin.js", + "minify_html": "node_modules/.bin/html-minifier app/index.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"app.min.js\" type=\"text/javascript\"></script>|' > dist/index.html" } } |