Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gruntfile.js 970B

123456789101112131415161718192021222324252627282930313233343536
  1. module.exports = function(grunt) {
  2. grunt.initConfig({
  3. pkg: grunt.file.readJSON("package.json"),
  4. uglify: {
  5. options: {
  6. banner: "/*! <%= pkg.name %> | <%= pkg.author %> | <%= pkg.license %> */\n",
  7. sourceMap: true
  8. },
  9. build: {
  10. files: [
  11. {
  12. src: "src/sprintf.js",
  13. dest: "dist/sprintf.min.js"
  14. },
  15. {
  16. src: "src/angular-sprintf.js",
  17. dest: "dist/angular-sprintf.min.js"
  18. }
  19. ]
  20. }
  21. },
  22. watch: {
  23. js: {
  24. files: "src/*.js",
  25. tasks: ["uglify"]
  26. }
  27. }
  28. })
  29. grunt.loadNpmTasks("grunt-contrib-uglify")
  30. grunt.loadNpmTasks("grunt-contrib-watch")
  31. grunt.registerTask("default", ["uglify", "watch"])
  32. }