Permalink
Browse files

first yeoman test

  • Loading branch information...
1 parent 7931f1c commit 5cb3273d51f83716d3a65376ebeef8a55f1a5702 @ryanttb committed Jan 9, 2013
Showing with 25,899 additions and 0 deletions.
  1. +18 −0 YeomanTest/firstinit/.editorconfig
  2. +1 −0 YeomanTest/firstinit/.gitattributes
  3. +4 −0 YeomanTest/firstinit/.gitignore
  4. +22 −0 YeomanTest/firstinit/.jshintrc
  5. +189 −0 YeomanTest/firstinit/Gruntfile.js
  6. +553 −0 YeomanTest/firstinit/app/.htaccess
  7. +157 −0 YeomanTest/firstinit/app/404.html
  8. BIN YeomanTest/firstinit/app/favicon.ico
  9. BIN YeomanTest/firstinit/app/images/glyphicons-halflings-white.png
  10. BIN YeomanTest/firstinit/app/images/glyphicons-halflings.png
  11. +75 −0 YeomanTest/firstinit/app/index.html
  12. +3 −0 YeomanTest/firstinit/app/robots.txt
  13. +3 −0 YeomanTest/firstinit/app/scripts/app.js
  14. +15 −0 YeomanTest/firstinit/app/scripts/main.js
  15. +104 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-affix.js
  16. +90 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-alert.js
  17. +96 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-button.js
  18. +176 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-carousel.js
  19. +158 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-collapse.js
  20. +150 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-dropdown.js
  21. +239 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-modal.js
  22. +103 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-popover.js
  23. +151 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-scrollspy.js
  24. +135 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-tab.js
  25. +275 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-tooltip.js
  26. +60 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-transition.js
  27. +300 −0 YeomanTest/firstinit/app/scripts/vendor/bootstrap/bootstrap-typeahead.js
  28. +4,642 −0 YeomanTest/firstinit/app/scripts/vendor/esprima.js
  29. +459 −0 YeomanTest/firstinit/app/scripts/vendor/hm.js
  30. +2 −0 YeomanTest/firstinit/app/scripts/vendor/jquery.min.js
  31. +4 −0 YeomanTest/firstinit/app/scripts/vendor/modernizr.min.js
  32. +2,053 −0 YeomanTest/firstinit/app/scripts/vendor/require.js
  33. +66 −0 YeomanTest/firstinit/app/styles/_compass_twitter_bootstrap.scss
  34. +66 −0 YeomanTest/firstinit/app/styles/_compass_twitter_bootstrap_awesome.scss
  35. +48 −0 YeomanTest/firstinit/app/styles/_compass_twitter_bootstrap_responsive.scss
  36. +34 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_accordion.scss
  37. +61 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_alerts.scss
  38. +24 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_breadcrumbs.scss
  39. +240 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_button-groups.scss
  40. +210 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_buttons.scss
  41. +131 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_carousel.scss
  42. +31 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_close.scss
  43. +58 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_code.scss
  44. +23 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_component-animations.scss
  45. +210 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_dropdowns.scss
  46. +267 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_font-awesome.scss
  47. +635 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_forms.scss
  48. +21 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_grid.scss
  49. +24 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_hero-unit.scss
  50. +69 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_labels-badges.scss
  51. +16 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_layouts.scss
  52. +656 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_mixins.scss
  53. +97 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_modals.scss
  54. +466 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_navbar.scss
  55. +384 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_navs.scss
  56. +37 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_pager.scss
  57. +64 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_pagination.scss
  58. +117 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_popovers.scss
  59. +122 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_progress-bars.scss
  60. +132 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_reset.scss
  61. +28 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive-1200px-min.scss
  62. +167 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive-767px-max.scss
  63. +19 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive-768px-979px.scss
  64. +166 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive-navbar.scss
  65. +43 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive-utilities.scss
  66. +48 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_responsive.scss
  67. +51 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_scaffolding.scss
  68. +187 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_sprites.scss
  69. +202 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_tables.scss
  70. +52 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_thumbnails.scss
  71. +70 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_tooltip.scss
  72. +206 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_type.scss
  73. +45 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_utilities.scss
  74. +276 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_variables.scss
  75. +29 −0 YeomanTest/firstinit/app/styles/compass_twitter_bootstrap/_wells.scss
  76. +1 −0 YeomanTest/firstinit/app/styles/main.scss
  77. +9 −0 YeomanTest/firstinit/package.json
  78. +47 −0 YeomanTest/firstinit/test/index.html
  79. +3,590 −0 YeomanTest/firstinit/test/lib/chai.js
  80. +1,202 −0 YeomanTest/firstinit/test/lib/expect.js
  81. +199 −0 YeomanTest/firstinit/test/lib/mocha/mocha.css
  82. +4,675 −0 YeomanTest/firstinit/test/lib/mocha/mocha.js
  83. +41 −0 YeomanTest/firstinit/test/runner/mocha.js
@@ -0,0 +1,18 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+
+root = true
+
+
+[*]
+
+# Change these settings to your own preference
+indent_style = space
+indent_size = 4
+
+# We recommend you to keep these unchanged
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
@@ -0,0 +1 @@
+* text=auto
@@ -0,0 +1,4 @@
+temp
+dist
+.sass-cache
+
@@ -0,0 +1,22 @@
+{
+ "node": true,
+ "browser": true,
+ "es5": true,
+ "esnext": true,
+ "bitwise": true,
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "indent": 4,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "quotmark": "single",
+ "regexp": true,
+ "undef": true,
+ "unused": true,
+ "strict": true,
+ "trailing": true,
+ "smarttabs": true
+}
@@ -0,0 +1,189 @@
+module.exports = function( grunt ) {
+ 'use strict';
+ //
+ // Grunt configuration:
+ //
+ // https://github.com/cowboy/grunt/blob/master/docs/getting_started.md
+ //
+ grunt.initConfig({
+
+ // Project configuration
+ // ---------------------
+
+ // specify an alternate install location for Bower
+ bower: {
+ dir: 'app/components'
+ },
+
+ // Coffee to JS compilation
+ coffee: {
+ compile: {
+ files: {
+ 'temp/scripts/*.js': 'app/scripts/**/*.coffee'
+ },
+ options: {
+ basePath: 'app/scripts'
+ }
+ }
+ },
+
+ // compile .scss/.sass to .css using Compass
+ compass: {
+ dist: {
+ // http://compass-style.org/help/tutorials/configuration-reference/#configuration-properties
+ options: {
+ css_dir: 'temp/styles',
+ sass_dir: 'app/styles',
+ images_dir: 'app/images',
+ javascripts_dir: 'temp/scripts',
+ force: true
+ }
+ }
+ },
+
+ // generate application cache manifest
+ manifest:{
+ dest: ''
+ },
+
+ // headless testing through PhantomJS
+ mocha: {
+ all: ['test/**/*.html']
+ },
+
+ // default watch configuration
+ watch: {
+ coffee: {
+ files: 'app/scripts/**/*.coffee',
+ tasks: 'coffee reload'
+ },
+ compass: {
+ files: [
+ 'app/styles/**/*.{scss,sass}'
+ ],
+ tasks: 'compass reload'
+ },
+ reload: {
+ files: [
+ 'app/*.html',
+ 'app/styles/**/*.css',
+ 'app/scripts/**/*.js',
+ 'app/images/**/*'
+ ],
+ tasks: 'reload'
+ }
+ },
+
+ // default lint configuration, change this to match your setup:
+ // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#lint-built-in-task
+ lint: {
+ files: [
+ 'Gruntfile.js',
+ 'app/scripts/**/*.js',
+ 'spec/**/*.js'
+ ]
+ },
+
+ // specifying JSHint options and globals
+ // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#specifying-jshint-options-and-globals
+ jshint: {
+ options: {
+ curly: true,
+ eqeqeq: true,
+ immed: true,
+ latedef: true,
+ newcap: true,
+ noarg: true,
+ sub: true,
+ undef: true,
+ boss: true,
+ eqnull: true,
+ browser: true
+ },
+ globals: {
+ jQuery: true
+ }
+ },
+
+ // Build configuration
+ // -------------------
+
+ // the staging directory used during the process
+ staging: 'temp',
+ // final build output
+ output: 'dist',
+
+ mkdirs: {
+ staging: 'app/'
+ },
+
+ // Below, all paths are relative to the staging directory, which is a copy
+ // of the app/ directory. Any .gitignore, .ignore and .buildignore file
+ // that might appear in the app/ tree are used to ignore these values
+ // during the copy process.
+
+ // concat css/**/*.css files, inline @import, output a single minified css
+ css: {
+ 'styles/main.css': ['styles/**/*.css']
+ },
+
+ // renames JS/CSS to prepend a hash of their contents for easier
+ // versioning
+ rev: {
+ js: 'scripts/**/*.js',
+ css: 'styles/**/*.css',
+ img: 'images/**'
+ },
+
+ // usemin handler should point to the file containing
+ // the usemin blocks to be parsed
+ 'usemin-handler': {
+ html: 'index.html'
+ },
+
+ // update references in HTML/CSS to revved files
+ usemin: {
+ html: ['**/*.html'],
+ css: ['**/*.css']
+ },
+
+ // HTML minification
+ html: {
+ files: ['**/*.html']
+ },
+
+ // Optimizes JPGs and PNGs (with jpegtran & optipng)
+ img: {
+ dist: '<config:rev.img>'
+ },
+
+ // rjs configuration. You don't necessarily need to specify the typical
+ // `path` configuration, the rjs task will parse these values from your
+ // main module, using http://requirejs.org/docs/optimization.html#mainConfigFile
+ //
+ // name / out / mainConfig file should be used. You can let it blank if
+ // you're using usemin-handler to parse rjs config from markup (default
+ // setup)
+ rjs: {
+ // no minification, is done by the min task
+ optimize: 'none',
+ baseUrl: './scripts',
+ wrap: true,
+ name: 'main'
+ },
+
+ // While Yeoman handles concat/min when using
+ // usemin blocks, you can still use them manually
+ concat: {
+ dist: ''
+ },
+
+ min: {
+ dist: ''
+ }
+ });
+
+ // Alias the `test` task to run the `mocha` task instead
+ grunt.registerTask('test', 'server:phantom mocha');
+
+};
Oops, something went wrong.

0 comments on commit 5cb3273

Please sign in to comment.