Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemanja Popovic committed Aug 31, 2015
0 parents commit 372cb6b
Show file tree
Hide file tree
Showing 301 changed files with 31,654 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "public/js/vendor"
}
3 changes: 3 additions & 0 deletions .buildpacks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/ejholmes/heroku-buildpack-bower.git
https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt.git
8 changes: 8 additions & 0 deletions .cfignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
.tmp/
config/
coverage/
docu/
node_modules/
test/
*.yml
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.sass-cache
bower_components
node_modules
*sublime*
public/js/vendor
public/css/vendor
.tmp/
*.iml
public/css/app/style.css
public/css/app/style.css.map
public/js/app/shared/app-config.js
.idea
coverage/
config/config.js
dist
.DS_Store
30 changes: 30 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"node": true,
"browser": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,

"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"globals": {
"angular": false,
"Masonry": false,
"_": false,
"Spinner": false,
"$": false,
"FB": false
},
"laxcomma": true
}
168 changes: 168 additions & 0 deletions License.md

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions Readme.md

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "blank-project",
"version": "0.0.0",
"authors": [
"hybris"
],
"license": "",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "latest",
"angular": "~1.3.0",
"angular-resource": "latest",
"angular-ui-router": "~0.2.11",
"angular-mocks": "~1.3.0",
"angular-translate": "~2.4.0",
"angular-stripe-js": "Venturocket/angular-stripe-js#0.0.6",
"ngInfiniteScroll": "1.0.0",
"bootstrap": "3.3.2",
"restangular": "~1.4.0",
"lodash": "~2.4.1",
"spin.js": "~2.0.1",
"angular-cookie": "~4.0.2",
"angular-bootstrap": "~0.11.0",
"angular-xeditable": "~0.1.8",
"angular-directive.g-signin": "~0.1.2",
"angular-ui-select": "~0.8.2",
"angular-sanitize": "~1.3.0",
"angular-touch": "~1.3.0",
"algoliasearch": "2.9.2",
"yamm3": "1.1.0"
},
"install": {
"path": {
"css": "public/css/vendor",
"js": "public/js/vendor"
}
},
"resolutions": {
"angular": "~1.3.0"
}
}
24 changes: 24 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "public/css"
sass_dir = "public/scss"
images_dir = "public/img"
javascripts_dir = "public/js"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false


# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass public/scss scss && rm -rf sass && mv scss sass
200 changes: 200 additions & 0 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
module.exports = function(config){
config.set({
basePath : '../',

files : [

'public/js/vendor-static/jquery.min.js',
'public/js/vendor/lodash/dist/lodash.compat.min.js',
'public/js/vendor-static/bootstrap.min.js',
'public/js/vendor/spin.js/spin.js',
'public/js/vendor-static/owl.carousel.min.js',
'public/js/vendor-static/img-touch-canvas.js',
'public/js/vendor-static/jquery.fullscreen-min.js',
'public/js/vendor-static/main.js',
'https://js.stripe.com/v2/',
'public/js/vendor/angular/angular.min.js',
'public/js/vendor/angular-touch/angular-touch.js',
'public/js/vendor/angular-mocks/angular-mocks.js',
'public/js/vendor/angular-cookie/angular-cookie.min.js',
'public/js/vendor/angular-resource/angular-resource.min.js',
'public/js/vendor/restangular/dist/restangular.min.js',
'public/js/vendor/angular-ui-router/release/angular-ui-router.min.js',
'public/js/vendor/angular-translate/angular-translate.min.js',
'public/js/vendor/ngInfiniteScroll/build/ng-infinite-scroll.min.js',
'public/js/vendor/angular-stripe-js/build/angular-stripe-js.min.js',
'public/js/vendor/angular-xeditable/dist/js/xeditable.js',
'public/js/vendor/angular-sanitize/angular-sanitize.js',
'public/js/vendor/angular-ui-select/dist/select.min.js',
'public/js/vendor/angular-directive.g-signin/google-plus-signin.js',
'public/js/vendor/algoliasearch/dist/algoliasearch.angular.js',

// dummy config/bootstrap for testing
'test/unit/bootstrap-test.js',

'public/js/app/shared/shared-index.js',
'public/js/app/shared/settings.js',
'public/js/app/shared/app-config.js',
'public/js/app/shared/site-config.js',
'public/js/app/shared/services/cookie-svc.js',
'public/js/app/shared/services/site-settings-rest.js',
'public/js/app/shared/filters/filters.js',
'public/js/app/shared/services/global-data.js',
'public/js/app/shared/services/site-settings-rest.js',
'public/js/app/shared/services/configuration-service.js',
'public/js/app/shared/services/http-queue.js',
'public/js/app/shared/services/event-service.js',
'public/js/app/shared/services/local-storage.js',
'public/js/app/shared/services/site-selector-service.js',
'public/js/app/shared/controllers/sidebar-navigation-ctrl.js',
'public/js/app/shared/controllers/top-navigation-ctrl.js',
'public/js/app/shared/i18n/i18-index.js',
'public/js/app/shared/i18n/i18-constants.js',
'public/js/app/shared/i18n/lang/en.js',
'public/js/app/shared/i18n/lang/de.js',
'public/js/app/shared/i18n/providers/translation-provider.js',

'public/js/app/shared/directives/y-breadcrumb.js',
'public/js/app/shared/directives/y-tracking.js',
'public/js/app/shared/directives/y-search.js',
'public/js/app/shared/directives/y-inputs-dir.js',

'public/js/app/home/home-index.js',
'public/js/app/home/controllers/home-ctrl.js',

'public/js/app/search/search-index.js',
'public/js/app/search/controllers/search-list-ctrl.js',

'public/js/app/products/products-index.js',
'public/js/app/products/controllers/browse-products-ctrl.js',
'public/js/app/products/controllers/product-detail-ctrl.js',
'public/js/app/products/services/product-service.js',
'public/js/app/products/services/price-service.js',
'public/js/app/products/services/price-product-rest.js',
'public/js/app/products/services/category-service.js',

'public/js/app/cart/cart-index.js',
'public/js/app/cart/controllers/cart-ctrl.js',
'public/js/app/cart/directives/cart-auto-toggle.js',
'public/js/app/cart/services/cart-service.js',
'public/js/app/cart/services/cart-rest.js',

'public/js/app/checkout/checkout-index.js',
'public/js/app/checkout/controllers/checkout-ctrl.js',
'public/js/app/checkout/controllers/checkout-base-ctrl.js',
'public/js/app/checkout/controllers/checkout-edit-cart-ctrl.js',
'public/js/app/checkout/services/checkout-service.js',
'public/js/app/checkout/directives/address-decorator.js',
'public/js/app/checkout/directives/inline-error-input.js',
'public/js/app/checkout/directives/mobile-checkout-wizard.js',
'public/js/app/checkout/services/checkout-rest.js',
'public/js/app/checkout/services/checkout-service.js',

'public/js/app/confirmation/confirmation-index.js',
'public/js/app/confirmation/controllers/confirmation-ctrl.js',
'public/js/app/confirmation/services/order-details-svc.js',
'public/js/app/confirmation/services/order-details-rest.js',

'public/js/app/coupons/coupon-index.js',
'public/js/app/coupons/controllers/coupon-ctrl.js',
'public/js/app/coupons/services/coupon-service.js',
'public/js/app/coupons/services/coupon-rest.js',

'public/js/app/errors/controllers/errors-ctrl.js',
'public/js/app/errors/backendStub.js',

'public/js/app/account/account-index.js',
'public/js/app/account/controllers/account-ctrl.js',
'public/js/app/account/controllers/account-order-detail-ctrl.js',
'public/js/app/account/services/account-service.js',

'public/js/app/addresses/addresses-index.js',
'public/js/app/addresses/directives/localized-addresses.js',

'public/js/app/auth/auth-index.js',
'public/js/app/auth/controllers/auth-modal-dialog-ctrl.js',
'public/js/app/auth/controllers/password-reset-ctrl.js',
'public/js/app/auth/controllers/password-update-ctrl.js',
'public/js/app/auth/controllers/password-reset-update-ctrl.js',
'public/js/app/auth/directives/confirm-input.js',
'public/js/app/auth/directives/create-account.js',
'public/js/app/auth/services/auth-rest.js',
'public/js/app/auth/services/token-service.js',
'public/js/app/auth/services/auth-service.js',
'public/js/app/auth/services/anon-auth-service.js',
'public/js/app/auth/services/auth-dialog-manager.js',
'public/js/app/auth/services/session-service.js',

'public/js/app/shared/router.js',
'public/js/app/shared/http-proxy.js',

'public/js/app/shared/controllers/site-selector-ctrl.js',
'public/js/app/shared/directives/quantity-input.js',
'public/js/app/shared/directives/popover.js',

'public/js/app/orders/orders-index.js',
'public/js/app/orders/services/order-list-service.js',
'public/js/app/orders/services/orders-rest.js',

'public/js/app/app.js',

'public/js/vendor-static/ui-bootstrap-tpls.js',
'public/js/vendor-static/jquery.menu-aim.js',

'test/unit/*.js',
'test/unit/account/*.js',
'test/unit/addresses/*.js',
'test/unit/auth/*.js',
'test/unit/account/*.js',
'test/unit/cart/*.js',
'test/unit/checkout/*.js',
'test/unit/confirmation/*.js',
'test/unit/coupons/*.js',
'test/unit/errors/*.js',
'test/unit/home/*.js',
'test/unit/orders/*.js',
'test/unit/products/*.js',
'test/unit/search/*.js',
'test/unit/shared/*.js'

],

exclude : [

],

preprocessors : {
//'public/js/app/**/*.js': 'coverage'
'public/js/app/**/!(backendStub).js': 'coverage'
},

reporters : ['coverage','progress'],

coverageReporter : {
type : 'html',
dir : 'coverage/'
},

autoWatch : true,
singleRun : true,

frameworks: ['jasmine'],

browsers : ['PhantomJS'],

plugins : [
'karma-junit-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-script-launcher',
'karma-jasmine',
'karma-phantomjs-launcher',
'karma-coverage'
],

junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}

})}
Loading

0 comments on commit 372cb6b

Please sign in to comment.