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L,KAAM,CACF,QAAS,CACL,OAAQ,wBAIpB,WAAY,CACR,QAAS,CACL,KAAM,OAEV,IAAK,CAAC,SAKd,EAAM,UAAU,SAEhB,EAAM,aAAa,wBAEnB,EAAM,aAAa,QAAS,CAAC,mBAE7B,EAAM,aAAa,MAAO,CAAC,UAAW,UACtC,EAAM,aAAa,OAAQ,CAAC,SAAU,QAA6B,UACnE,EAAM,aAAa,OAAQ,CAAC,SAAU,kBAAmB,SAAU,cACnE,EAAM,aAAa,YAAa,CAAC,WACjC,EAAM,aAAa,SAAU,CAAC,WAAY,UAAW,SACrD,EAAM,aAAa,UAAW,CAAC,UAE/B,EAAM,aAAa,YAAa,CAAC,WAAY,WAAY,uBAAwB,QAAS,WAAY,YAE1G","file":"/npm/bikini@0.8.1/Gruntfile.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/bikini@0.8.1/Gruntfile.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n * The-M-Project Build Script\n * Version: 0.1.0\n */\n\nvar _ = require('lodash');\n\nvar path = require('path');\n\nmodule.exports = function (grunt) {\n    // show elapsed time at the end\n    require('time-grunt')(grunt);\n    // load all grunt tasks\n    require('load-grunt-tasks')(grunt);\n\n    var additionalMarkdownFiles = {};\n\n    // Project configuration.\n    grunt.initConfig({\n        pkg: grunt.file.readJSON('package.json'),\n        meta: {\n            banner: '/*!\\n' +\n                '* Project:   Bikini - Everything a model needs\\n' +\n                '* Copyright: (c) <%= grunt.template.today(\"yyyy\") %> M-Way Solutions GmbH.\\n' +\n                '* Version:   <%= pkg.version %>\\n' +\n                '* Date:      <%= grunt.template.today() %>\\n' +\n                '* License:   https://raw.githubusercontent.com/mwaylabs/bikini/master/MIT-LICENSE.txt\\n' +\n                '*/'\n        },\n        jsonlint: {\n            sample: {\n                src: [ 'package.json', 'bower.json' ]\n            }\n        },\n        jshint: {\n            options: {\n                jshintrc: '.jshintrc',\n                ignores: ['src/_*.js', 'src/bikini*.js' ]\n            },\n            src: [ 'src/**/*.js' ]\n        },\n        preprocess: {\n            options: {\n                context: {\n                    BANNER: '<%= meta.banner %>',\n                    VERSION: '<%= pkg.version %>'\n                }\n            },\n            dev: {\n                files: {\n                    '.tmp/bikini.js': 'src/bikini.js'\n                }\n            },\n            dist: {\n                files: {\n                    'dist/bikini.js': 'src/bikini.js',\n                    'dist/bikangular.js': 'bikangular/bikangular.js'\n                }\n            }\n        },\n        uglify: {\n            options: {\n                preserveComments: 'some'\n            },\n            core: {\n                compress: {\n                  drop_console: true\n                },\n                src: 'dist/bikini.js',\n                dest: 'dist/bikini.min.js',\n                options: {\n                    sourceMap: 'dist/bikini.map',\n                    sourceMappingURL: 'bikini.map',\n                    sourceMapPrefix: 1\n                }\n            }\n        },\n        watch: {\n            js: {\n                files: ['src/**/*'],\n                tasks: ['preprocess:dist'],\n                options: {\n                    spawn: false\n                }\n            },\n            test: {\n                files: ['test/**/*'],\n                tasks: ['test'],\n                options: {\n                    spawn: false\n                }\n            }\n        },\n        mocha: {\n            options: {\n                bail: true,\n                reporter: \"Spec\"\n            },\n            all: ['test/test.html']\n        },\n        jsdoc: {\n            dist: {\n                src: ['dist/bikini.js'],\n                options: {\n                    destination: 'doc',\n                    private: false\n                }\n            }\n        },\n        'curl-dir': {\n            customFilepaths: {\n                src: (function () {\n                    return Object.keys(additionalMarkdownFiles);\n                })(),\n                router: function (url) {\n                    return additionalMarkdownFiles[url];\n                },\n                dest: 'doc-template/additional'\n            }\n        },\n        clean: {\n            md: {\n                src: [\n                    'doc-template/additional/Sample-Apps.md',\n                    'doc-template/additional/Demo-App.md',\n                    'doc-template/additional/Generator.md',\n                    'doc-template/.tmp/index.md'\n                ]\n            }\n        },\n        express: {\n            test: {\n                options: {\n                    script: './server/server.js'\n                }\n            }\n        },\n        'gh-pages': {\n            options: {\n                base: 'doc'\n            },\n            src: ['**']\n        }\n    });\n\n\n    grunt.loadTasks('tasks');\n\n    grunt.loadNpmTasks('grunt-express-server');\n\n    grunt.registerTask('build', ['preprocess:dev']);\n\n    grunt.registerTask('dev', ['default', 'watch']);\n    grunt.registerTask('test', ['jshint', 'build', /*'express:test',*/ 'mocha']);\n    grunt.registerTask('dist', ['jshint', 'preprocess:dist', 'uglify', 'build-doc']);\n    grunt.registerTask('precommit', ['travis']);\n    grunt.registerTask('travis', ['jsonlint', 'default', 'test']);\n    grunt.registerTask('default', ['build']);\n\n    grunt.registerTask('build-doc', ['clean:md', 'curl-dir', 'rewriteMarkdownFiles', 'jsdoc', 'clean:md', 'gh-pages']);\n\n};\n"]}