Skip to content

Commit

Permalink
Updating to Ember CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert DeLuca committed Jan 24, 2015
1 parent 98636c0 commit b496a08
Show file tree
Hide file tree
Showing 69 changed files with 771 additions and 1,190 deletions.
3 changes: 2 additions & 1 deletion .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"directory": "app/bower_components"
"directory": "bower_components",
"analytics": false
}
28 changes: 24 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
# http://editorconfig.org
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.hbs]
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2

[*.md]
[*.{diff,md}]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .ember-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
/**
Ember CLI sends analytics information by default. The data is completely
anonymous, but there are times when you might want to disable this behavior.

Setting `disableAnalytics` to true will prevent any data from being sent.
*/
"disableAnalytics": false
}
22 changes: 17 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
node_modules
temp
.sass-cache
.tmp
app/bower_components
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp

# dependencies
/node_modules
/bower_components

# misc
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
testem.log
48 changes: 25 additions & 23 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
{
"node": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"predef": [
"document",
"window",
"-Promise",
"c3"
],
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"unused": true,
"sub": true,
"strict": false,
"trailing": true,
"smarttabs": true,
"white": true,
"globals": {
"EmberC3": true,
"jQuery": true,
"$": true,
"Ember": true,
"Handlebars": true,
"DS": true,
"c3": true,
"d3": true
}
"white": false,
"eqnull": true,
"esnext": true,
"unused": true
}
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bower_components/
tests/

.bowerrc
.editorconfig
.ember-cli
.travis.yml
.npmignore
**/.gitkeep
bower.json
Brocfile.js
testem.json
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
language: node_js

sudo: false

cache:
directories:
- node_modules

before_install:
- "npm config set spin false"
- "npm install -g npm@^2"

install:
- npm install -g bower
- npm install
- bower install

script:
- npm test
25 changes: 25 additions & 0 deletions Brocfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* jshint node: true */
/* global require, module */

var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

var app = new EmberAddon();

app.import('bower_components/d3/d3.min.js');
app.import('bower_components/c3/c3.min.css');
app.import('bower_components/c3/c3.min.js');

// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

module.exports = app.toTree();
Loading

0 comments on commit b496a08

Please sign in to comment.