Created
June 6, 2014 09:06
-
-
Save lonormaly/3c270129fef55811f6aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "myapp", | |
| "version": "0.2.1", | |
| "description": "myapp", | |
| "dependencies": { | |
| "angular": "~1.2.16", | |
| "angular-resource": "~1.2.16", | |
| "angular-animate": "~1.2.16", | |
| "angular-mocks": "~1.2.16", | |
| "angular-ui-utils": "~0.1.1", | |
| "angular-ui-router": "~0.2.10", | |
| "angular-file-upload": "https://github.com/nervgh/angular-file-upload.git#~0.4.0", | |
| "angular-cookies": "~1.2.16", | |
| "angular-bootstrap": "~0.11.0", | |
| "angular-translate": "~2.2.0", | |
| "angular-route": "~1.2.16", | |
| "angular-underscore-module": "*", | |
| "ngstorage": "~0.3.0", | |
| "bootstrap-sass-official": "*", | |
| "json3": "~3.3.1" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated on 2014-06-03 using generator-angular 0.8.0 | |
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| module.exports = function (grunt) { | |
| // Load grunt tasks automatically | |
| require('load-grunt-tasks')(grunt); | |
| // Time how long tasks take. Can help when optimizing build times | |
| require('time-grunt')(grunt); | |
| // Define the configuration for all the tasks | |
| grunt.initConfig({ | |
| // Project settings | |
| yeoman: { | |
| // configurable paths | |
| app: require('./bower.json').appPath || 'Client', | |
| dist: 'dist' | |
| }, | |
| // Automatically inject Bower components into the app | |
| bowerInstall: { | |
| app: { | |
| src: ['<%= yeoman.app %>/index.html'], | |
| exclude: ['lib/bootstrap-sass-official/', 'lib/es5-shim', 'lib/json3'], | |
| // ignorePath: '<%= yeoman.app %>/' | |
| // overrides: {'angular-route': {'main': 'angular-route.js'}} | |
| ignorePath: 'lib' | |
| }, | |
| sass: { | |
| src: ['<%= yeoman.app %>/css/*.{scss,sass}'], | |
| ignorePath: '<%= yeoman.app %>/lib/' | |
| } | |
| }, | |
| }); | |
| grunt.registerTask('serve', function (target) { | |
| if (target === 'dist') { | |
| return grunt.task.run(['build', 'connect:dist:keepalive']); | |
| } | |
| grunt.task.run([ | |
| 'clean:server', | |
| 'bowerInstall', | |
| 'concurrent:server', | |
| 'autoprefixer', | |
| 'connect:livereload', | |
| 'watch' | |
| ]); | |
| }); | |
| grunt.registerTask('server', function (target) { | |
| grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.'); | |
| grunt.task.run(['serve:' + target]); | |
| }); | |
| grunt.registerTask('test', [ | |
| 'clean:server', | |
| 'concurrent:test', | |
| 'autoprefixer', | |
| 'connect:test', | |
| 'karma' | |
| ]); | |
| grunt.registerTask('build', [ | |
| 'clean:dist', | |
| // 'bowerInstall', | |
| 'useminPrepare', | |
| 'concurrent:dist', | |
| 'autoprefixer', | |
| 'concat', | |
| 'ngmin', | |
| 'copy:dist', | |
| 'cdnify', | |
| 'cssmin', | |
| 'uglify', | |
| 'rev', | |
| 'usemin', | |
| 'htmlmin' | |
| ]); | |
| grunt.registerTask('default', [ | |
| 'newer:jshint', | |
| 'test', | |
| 'build' | |
| ]); | |
| grunt.registerTask('mygrunt', [ | |
| 'compass:dist' | |
| ]); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated on 2014-06-03 using generator-angular 0.8.0 | |
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| module.exports = function (grunt) { | |
| // Load grunt tasks automatically | |
| require('load-grunt-tasks')(grunt); | |
| // Time how long tasks take. Can help when optimizing build times | |
| require('time-grunt')(grunt); | |
| // Define the configuration for all the tasks | |
| grunt.initConfig({ | |
| // Project settings | |
| yeoman: { | |
| // configurable paths | |
| app: require('./bower.json').appPath || 'Client', | |
| dist: 'dist' | |
| }, | |
| // Automatically inject Bower components into the app | |
| bowerInstall: { | |
| app: { | |
| src: ['<%= yeoman.app %>/index.html'], | |
| exclude: ['lib/bootstrap-sass-official/', 'lib/es5-shim', 'lib/json3'] | |
| // ignorePath: '<%= yeoman.app %>/' | |
| // overrides: {'angular-route': {'main': 'angular-route.js'}} | |
| // ignorePath: 'lib' | |
| }, | |
| sass: { | |
| src: ['<%= yeoman.app %>/css/*.{scss,sass}'], | |
| ignorePath: '<%= yeoman.app %>/lib/' | |
| } | |
| }, | |
| }); | |
| grunt.registerTask('serve', function (target) { | |
| if (target === 'dist') { | |
| return grunt.task.run(['build', 'connect:dist:keepalive']); | |
| } | |
| grunt.task.run([ | |
| 'clean:server', | |
| 'bowerInstall', | |
| 'concurrent:server', | |
| 'autoprefixer', | |
| 'connect:livereload', | |
| 'watch' | |
| ]); | |
| }); | |
| grunt.registerTask('server', function (target) { | |
| grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.'); | |
| grunt.task.run(['serve:' + target]); | |
| }); | |
| grunt.registerTask('test', [ | |
| 'clean:server', | |
| 'concurrent:test', | |
| 'autoprefixer', | |
| 'connect:test', | |
| 'karma' | |
| ]); | |
| grunt.registerTask('build', [ | |
| 'clean:dist', | |
| // 'bowerInstall', | |
| 'useminPrepare', | |
| 'concurrent:dist', | |
| 'autoprefixer', | |
| 'concat', | |
| 'ngmin', | |
| 'copy:dist', | |
| 'cdnify', | |
| 'cssmin', | |
| 'uglify', | |
| 'rev', | |
| 'usemin', | |
| 'htmlmin' | |
| ]); | |
| grunt.registerTask('default', [ | |
| 'newer:jshint', | |
| 'test', | |
| 'build' | |
| ]); | |
| grunt.registerTask('mygrunt', [ | |
| 'compass:dist' | |
| ]); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- build:js scripts/vendor.js --> | |
| <!-- bower:js --> | |
| <script src="/angular/angular.js"></script> | |
| <script src="/angular-resource/angular-resource.js"></script> | |
| <script src="/angular-animate/angular-animate.js"></script> | |
| <script src="/angular-mocks/angular-mocks.js"></script> | |
| <script src="/angular-ui-utils/ui-utils.js"></script> | |
| <script src="/angular-ui-router/release/angular-ui-router.js"></script> | |
| <script src="/angular-file-upload/angular-file-upload.js"></script> | |
| <script src="/angular-cookies/angular-cookies.js"></script> | |
| <script src="/angular-bootstrap/ui-bootstrap-tpls.js"></script> | |
| <script src="/angular-translate/angular-translate.js"></script> | |
| <script src="/angular-route/angular-route.js"></script> | |
| <script src="/angular-underscore-module/angular-underscore-module.js"></script> | |
| <script src="/ngstorage/ngStorage.js"></script> | |
| <!--endbower --> | |
| <!-- endbuild --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- build:js scripts/vendor.js --> | |
| <!-- bower:js --> | |
| <script src="lib/angular-mocks/angular-mocks.js"></script> | |
| <script src="lib/angular-translate/angular-translate.js"></script> | |
| <script src="lib/ngstorage/ngStorage.js"></script> | |
| <!--endbower --> | |
| <!-- endbuild --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "niio", | |
| "version": "0.0.0", | |
| "dependencies": {}, | |
| "devDependencies": { | |
| "grunt": "^0.4.5", | |
| "grunt-autoprefixer": "~0.4.0", | |
| "grunt-concurrent": "~0.5.0", | |
| "grunt-contrib-clean": "~0.5.0", | |
| "grunt-contrib-compass": "~0.7.2", | |
| "grunt-contrib-concat": "~0.3.0", | |
| "grunt-contrib-connect": "~0.5.0", | |
| "grunt-contrib-copy": "~0.4.1", | |
| "grunt-contrib-cssmin": "~0.7.0", | |
| "grunt-contrib-htmlmin": "~0.1.3", | |
| "grunt-contrib-imagemin": "~0.3.0", | |
| "grunt-contrib-jshint": "~0.7.1", | |
| "grunt-contrib-uglify": "~0.2.0", | |
| "grunt-contrib-watch": "~0.5.2", | |
| "grunt-google-cdn": "~0.2.0", | |
| "grunt-newer": "~0.6.1", | |
| "grunt-ngmin": "~0.0.2", | |
| "grunt-rev": "~0.1.0", | |
| "grunt-svgmin": "~0.2.0", | |
| "grunt-usemin": "~2.0.0", | |
| "jshint-stylish": "~0.1.3", | |
| "load-grunt-tasks": "~0.4.0", | |
| "time-grunt": "~0.2.1", | |
| "karma-phantomjs-launcher": "^0.1.4", | |
| "karma": "^0.12.16", | |
| "karma-jasmine": "^0.1.5", | |
| "grunt-karma": "^0.8.3", | |
| "grunt-bower-install": "^1.6.0", | |
| "connect-modrewrite": "^0.7.6" | |
| }, | |
| "engines": { | |
| "node": ">=0.10.0" | |
| }, | |
| "scripts": { | |
| "test": "grunt test" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment