10000 angular.js/Gruntfile.js at g3_v1_0 · uicoded/angular.js · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"closure","path":"closure","contentType":"directory"},{"name":"css","path":"css","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"example","path":"example","contentType":"directory"},{"name":"i18n","path":"i18n","contentType":"directory"},{"name":"images","path":"images","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"logs","path":"logs","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".bowerrc","path":".bowerrc","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"Gruntfile.js","path":"Gruntfile.js","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"angularFiles.js","path":"angularFiles.js","contentType":"file"},{"name":"changelog.js","path":"changelog.js","contentType":"file"},{"name":"changelog.spec.js","path":"changelog.spec.js","contentType":"file"},{"name":"changelog.tmp.md","path":"changelog.tmp.md","contentType":"file"},{"name":"check-size.sh","path":"check-size.sh","contentType":"file"},{"name":"gdocs.js","path":"gdocs.js","contentType":"file"},{"name":"gen_docs.sh","path":"gen_docs.sh","contentType":"file"},{"name":"init-repo.sh","path":"init-repo.sh","contentType":"file"},{"name":"jenkins_build.sh","path":"jenkins_build.sh","contentType":"file"},{"name":"karma-e2e.conf.js","path":"karma-e2e.conf.js","contentType":"file"},{"name":"karma-jqlite.conf.js","path":"karma-jqlite.conf.js","contentType":"file"},{"name":"karma-jquery.conf.js","path":"karma-jquery.conf.js","contentType":"file"},{"name":"karma-modules.conf.js","path":"karma-modules.conf.js","contentType":"file"},{"name":"karma-shared.conf.js","path":"karma-shared.conf.js","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"},{"name":"release-commit.sh","path":"release-commit.sh","contentType":"file"},{"name":"start-iteration.sh","path":"start-iteration.sh","contentType":"file"},{"name":"validate-commit-msg.js","path":"validate-commit-msg.js","contentType":"file"},{"name":"validate-commit-msg.spec.js","path":"validate-commit-msg.spec.js","contentType":"file"},{"name":"watchr-docs.rb","path":"watchr-docs.rb","contentType":"file"}],"totalCount":38}},"fileTreeProcessingTime":8.620723,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":38947702,"defaultBranch":"master","name":"angular.js","ownerLogin":"uicoded","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2015-07-12T02:37:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/124282?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"g3_v1_0","listCacheKey":"v0:1615690575.375668","canEdit":false,"refType":"branch","currentOid":"3ccec13aa702d9a7f75316df0c70873d72148b24"},"path":"Gruntfile.js","currentUser":null,"blob":{"rawLines":["var files = require('./angularFiles').files;","var util = require('./lib/grunt/utils.js');","","module.exports = function(grunt) {"," //grunt plugins"," grunt.loadNpmTasks('grunt-contrib-clean');"," grunt.loadNpmTasks('grunt-contrib-copy');"," grunt.loadNpmTasks('grunt-contrib-connect');"," grunt.loadNpmTasks('grunt-contrib-compress');"," grunt.loadNpmTasks('grunt-ddescribe-iit');"," grunt.loadNpmTasks('grunt-merge-conflict');"," grunt.loadNpmTasks('grunt-parallel');"," grunt.loadTasks('lib/grunt');",""," var NG_VERSION = util.getVersion();"," var dist = 'angular-'+ NG_VERSION.full;","",""," //global beforeEach"," util.init();","",""," //config"," grunt.initConfig({"," NG_VERSION: NG_VERSION,",""," parallel: {"," travis: {"," options: {"," stream: true,"," },"," tasks: ["," util.parallelTask('test:modules'),"," util.parallelTask('test:jquery'),"," util.parallelTask('test:jqlite'),"," util.parallelTask('test:e2e')"," ]"," }"," },",""," connect: {"," devserver: {"," options: {"," port: 8000,"," hostname: '0.0.0.0',"," base: '.',"," keepalive: true,"," middleware: function(connect, options){"," return ["," //uncomment to enable CSP"," // util.csp(),"," util.rewrite(),"," connect.favicon('images/favicon.ico'),"," connect.static(options.base),"," connect.directory(options.base)"," ];"," }"," }"," },"," testserver: {"," options: {"," // We use end2end task (which does not start the webserver)"," // and start the webserver as a separate process (in travis_build.sh)"," // to avoid https://github.com/joyent/libuv/issues/826"," port: 8000,"," hostname: '0.0.0.0',"," middleware: function(connect, options){"," return ["," function(req, resp, next) {"," // cache get requests to speed up tests on travis"," if (req.method === 'GET') {"," resp.setHeader('Cache-control', 'public, max-age=3600');"," }",""," next();"," },"," connect.favicon('images/favicon.ico'),"," connect.static(options.base)"," ];"," }"," }"," }"," },","",""," test: {"," jqlite: 'karma-jqlite.conf.js',"," jquery: 'karma-jquery.conf.js',"," modules: 'karma-modules.conf.js',"," //NOTE run grunt test:e2e instead and it will start a webserver for you"," end2end: 'karma-e2e.conf.js'"," },","",""," autotest: {"," jqlite: 'karma-jqlite.conf.js',"," jquery: 'karma-jquery.conf.js'"," },","",""," clean: {build: ['build']},","",""," build: {"," scenario: {"," dest: 'build/angular-scenario.js',"," src: ["," 'lib/jquery/jquery.js',"," util.wrap([files['angularSrc'], files['angularScenario']], 'ngScenario/angular')"," ],"," styles: {"," css: ['css/angular.css', 'css/angular-scenario.css']"," }"," },"," angular: {"," dest: 'build/angular.js',"," src: util.wrap([files['angularSrc']], 'angular'),"," styles: {"," css: ['css/angular.css'],"," minify: true"," }"," },"," loader: {"," dest: 'build/angular-loader.js',"," src: util.wrap(['src/loader.js'], 'loader')"," },"," mocks: {"," dest: 'build/angular-mocks.js',"," src: ['src/ngMock/angular-mocks.js'],"," strict: false"," },"," sanitize: {"," dest: 'build/angular-sanitize.js',"," src: util.wrap(["," 'src/ngSanitize/sanitize.js',"," 'src/ngSanitize/directive/ngBindHtml.js',"," 'src/ngSanitize/filter/linky.js',"," ], 'module')"," },"," resource: {"," dest: 'build/angular-resource.js',"," src: util.wrap(['src/ngResource/resource.js'], 'module')"," },"," cookies: {"," dest: 'build/angular-cookies.js',"," src: util.wrap(['src/ngCookies/cookies.js'], 'module')"," },"," bootstrap: {"," dest: 'build/angular-bootstrap.js',"," src: util.wrap(['src/bootstrap/bootstrap.js'], 'module')"," },"," bootstrapPrettify: {"," dest: 'build/angular-bootstrap-prettify.js',"," src: util.wrap(['src/bootstrap/bootstrap-prettify.js', 'src/bootstrap/google-prettify/prettify.js'], 'module'),"," styles: {"," css: ['src/bootstrap/google-prettify/prettify.css'],"," minify: true"," }"," }"," },","",""," min: {"," angular: 'build/angular.js',"," cookies: 'build/angular-cookies.js',"," loader: 'build/angular-loader.js',"," resource: 'build/angular-resource.js',"," sanitize: 'build/angular-sanitize.js',"," bootstrap: 'build/angular-bootstrap.js',"," bootstrapPrettify: 'build/angular-bootstrap-prettify.js',"," },","",""," docs: {"," process: ['build/docs/*.html', 'build/docs/.htaccess']"," },","",""," \"ddescribe-iit\": {"," files: ["," 'test/**/*.js',"," '!test/ngScenario/DescribeSpec.js'"," ]"," },",""," \"merge-conflict\": {"," files: ["," 'src/**/*',"," 'test/**/*',"," 'docs/**/*',"," 'css/**/*'"," ]"," },","",""," copy: {"," i18n: {"," files: ["," { src: 'src/ngLocale/**', dest: 'build/i18n/', expand: true, flatten: true }"," ]"," }"," },","",""," compress: {"," build: {"," options: {archive: 'build/' + dist +'.zip', mode: 'zip'},"," src: ['**'], cwd: 'build', expand: true, dot: true, dest: dist + '/'"," }"," },","",""," write: {"," versionTXT: {file: 'build/version.txt', val: NG_VERSION.full},"," versionJSON: {file: 'build/version.json', val: JSON.stringify(NG_VERSION)}"," }"," });","",""," //alias tasks"," grunt.registerTask('test:unit', ['test:jqlite', 'test:jquery', 'test:modules']);"," grunt.registerTask('minify', ['clean', 'build', 'minall']);"," grunt.registerTask('test:e2e', ['connect:testserver', 'test:end2end']);"," grunt.registerTask('webserver', ['connect:devserver']);"," grunt.registerTask('package', ['clean', 'buildall', 'minall', 'docs', 'copy', 'write', 'compress']);"," grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict']);"," grunt.registerTask('default', ['package']);","};"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/uicoded/angular.js/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"Gruntfile.js","displayUrl":"https://github.com/uicoded/angular.js/blob/g3_v1_0/Gruntfile.js?raw=true","headerInfo":{"blobSize":"6.03 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"8cd0278","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fuicoded%2Fangular.js%2Fblob%2Fg3_v1_0%2FGruntfile.js","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"228","truncatedSloc":"196"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"JavaScript","languageID":183,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/uicoded/angular.js/blob/g3_v1_0/Gruntfile.js","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/uicoded/angular.js/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/uicoded/angular.js/raw/refs/heads/g3_v1_0/Gruntfile.js","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"middleware","kind":"function","ident_start":1139,"ident_end":1149,"extent_start":1139,"extent_end":1468,"fully_qualified_name":"middleware","ident_utf16":{"start":{"line_number":47,"utf16_col":10},"end":{"line_number":47,"utf16_col":20}},"extent_utf16":{"start":{"line_number":47,"utf16_col":10},"end":{"line_number":56,"utf16_col":11}}},{"name":"middleware","kind":"function","ident_start":1805,"ident_end":1815,"extent_start":1805,"extent_end":2275,"fully_qualified_name":"middleware","ident_utf16":{"start":{"line_number":66,"utf16_col":10},"end":{"line_number":66,"utf16_col":20}},"extent_utf16":{"start":{"line_number":66,"utf16_col":10},"end":{"line_number":79,"utf16_col":11}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/uicoded/angular.js/branches":{"post":"qLvP9GxAgt60jviooTH75z5vJPJIDGyClkmyMUdmuUlVeun4ypBuRP7cKy59MiQSYPiZs088deWBer3BN9NBfA"},"/repos/preferences":{"post":"QUd1aC4hVg7C-F_pRdf-KSSky2L_UGRZVZep215RwOOC95qUCXWCXivhTMqZ4ZgkGlRnQVwAKIpbxQQoXOEGGQ"}}},"title":"angular.js/Gruntfile.js at g3_v1_0 · uicoded/angular.js","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0