ENH: Update ember (#3)

Fixes #1
This commit is contained in:
Matthew Ryan Dillon 2017-04-03 06:29:16 -07:00 committed by GitHub
parent 3236bd4fe2
commit 4a01acb556
9 changed files with 49 additions and 57 deletions

View file

@ -13,22 +13,8 @@ insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.js]
indent_style = space
indent_size = 2
[*.hbs] [*.hbs]
insert_final_newline = false insert_final_newline = false
indent_style = space
indent_size = 2
[*.css]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.{diff,md}] [*.{diff,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false

4
.gitignore vendored
View file

@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files. # See https://help.github.com/ignore-files/ for more about ignoring files.
# compiled output # compiled output
/dist /dist
@ -13,5 +13,5 @@
/connect.lock /connect.lock
/coverage/* /coverage/*
/libpeerconnection.log /libpeerconnection.log
npm-debug.log npm-debug.log*
testem.log testem.log

View file

@ -7,13 +7,13 @@ sudo: false
cache: cache:
directories: directories:
- node_modules - $HOME/.npm
- $HOME/.cache # includes bowers cache
before_install: before_install:
- npm config set spin false - npm config set spin false
- npm install -g bower - npm install -g bower phantomjs-prebuilt
- bower --version - bower --version
- npm install phantomjs-prebuilt
- phantomjs --version - phantomjs --version
install: install:

View file

@ -1,4 +1,4 @@
# Ccdb-web # ccdb-web
This README outlines the details of collaborating on this Ember application. This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here. A short introduction of this app could easily go here.
@ -7,16 +7,16 @@ A short introduction of this app could easily go here.
You will need the following things properly installed on your computer. You will need the following things properly installed on your computer.
* [Git](http://git-scm.com/) * [Git](https://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM) * [Node.js](https://nodejs.org/) (with NPM)
* [Bower](http://bower.io/) * [Bower](https://bower.io/)
* [Ember CLI](http://ember-cli.com/) * [Ember CLI](https://ember-cli.com/)
* [PhantomJS](http://phantomjs.org/) * [PhantomJS](http://phantomjs.org/)
## Installation ## Installation
* `git clone <repository-url>` this repository * `git clone <repository-url>` this repository
* change into the new directory * `cd ccdb-web`
* `npm install` * `npm install`
* `bower install` * `bower install`
@ -46,8 +46,7 @@ Specify what it takes to deploy your app.
## Further Reading / Useful Links ## Further Reading / Useful Links
* [ember.js](http://emberjs.com/) * [ember.js](http://emberjs.com/)
* [ember-cli](http://ember-cli.com/) * [ember-cli](https://ember-cli.com/)
* Development Browser Extensions * Development Browser Extensions
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi) * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/) * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)

View file

@ -0,0 +1,5 @@
{{!-- The following component displays Ember's default welcome message. --}}
{{welcome-page}}
{{!-- Feel free to remove this! --}}
{{outlet}}

View file

@ -1,10 +1,5 @@
{ {
"name": "ccdb-web", "name": "ccdb-web",
"dependencies": { "dependencies": {
"ember": "~2.7.0",
"ember-cli-shims": "0.1.1",
"ember-qunit-notifications": "0.1.0",
"pretender": "~1.1.0",
"Faker": "~3.1.0"
} }
} }

View file

@ -10,6 +10,10 @@ module.exports = function(environment) {
FEATURES: { FEATURES: {
// Here you can enable experimental features on an ember canary build // Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true // e.g. 'with-controller': true
},
EXTEND_PROTOTYPES: {
// Prevent Ember Data from overriding Date.parse.
Date: false
} }
}, },

View file

@ -2,50 +2,53 @@
"name": "ccdb-web", "name": "ccdb-web",
"version": "0.0.0", "version": "0.0.0",
"description": "Small description for ccdb-web goes here", "description": "Small description for ccdb-web goes here",
"private": true, "license": "MIT",
"author": "",
"directories": { "directories": {
"doc": "doc", "doc": "doc",
"test": "tests" "test": "tests"
}, },
"repository": "",
"scripts": { "scripts": {
"build": "ember build", "build": "ember build",
"start": "ember server", "start": "ember server",
"test": "ember test" "test": "ember test"
}, },
"repository": "",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
"license": "MIT",
"devDependencies": { "devDependencies": {
"broccoli-asset-rev": "^2.4.2", "broccoli-asset-rev": "^2.4.5",
"ember-ajax": "^2.0.1", "ember-ajax": "^2.4.1",
"ember-cli": "2.7.0", "ember-cli": "2.11.1",
"ember-cli-app-version": "^1.0.0", "ember-cli-app-version": "^2.0.0",
"ember-cli-babel": "^5.1.6", "ember-cli-babel": "^5.1.7",
"ember-cli-dependency-checker": "^1.2.0", "ember-cli-dependency-checker": "^1.3.0",
"ember-cli-flash": "1.3.16", "ember-cli-flash": "1.3.16",
"ember-cli-htmlbars": "^1.0.3", "ember-cli-htmlbars": "^1.1.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.1", "ember-cli-htmlbars-inline-precompile": "^0.3.6",
"ember-cli-inject-live-reload": "^1.4.0", "ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-jshint": "^1.0.0", "ember-cli-jshint": "^2.0.1",
"ember-cli-mirage": "0.2.1", "ember-cli-mirage": "0.2.1",
"ember-cli-moment-shim": "2.0.0", "ember-cli-moment-shim": "2.0.0",
"ember-cli-qunit": "^2.0.0", "ember-cli-qunit": "^3.0.1",
"ember-cli-release": "^0.2.9", "ember-cli-release": "^0.2.9",
"ember-cli-shims": "^1.0.2",
"ember-cli-sri": "^2.1.0", "ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0", "ember-cli-test-loader": "^1.1.0",
"ember-cli-uglify": "^1.2.0", "ember-cli-uglify": "^1.2.0",
"ember-data": "^2.7.0", "ember-data": "^2.11.0",
"ember-django-adapter": "1.1.2",
"ember-export-application-global": "^1.0.5", "ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1", "ember-load-initializers": "^0.6.0",
"ember-resolver": "^2.0.3",
"ember-source": "~2.11.0",
"ember-django-adapter": "1.1.2",
"ember-moment": "7.0.0-beta.3", "ember-moment": "7.0.0-beta.3",
"ember-power-select": "1.0.0-alpha.14", "ember-power-select": "1.0.0-alpha.14",
"ember-power-select-with-create": "0.1.10", "ember-power-select-with-create": "0.1.10",
"ember-resolver": "^2.0.3",
"ember-simple-auth": "1.1.0", "ember-simple-auth": "1.1.0",
"loader.js": "^4.0.1" "ember-welcome-page": "^2.0.2",
} "loader.js": "^4.0.10"
},
"engines": {
"node": ">= 0.12.0"
},
"private": true
} }

View file

@ -21,7 +21,7 @@
{{content-for "body"}} {{content-for "body"}}
{{content-for "test-body"}} {{content-for "test-body"}}
<script src="{{rootURL}}testem.js" integrity=""></script> <script src="/testem.js" integrity=""></script>
<script src="{{rootURL}}assets/vendor.js"></script> <script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/test-support.js"></script> <script src="{{rootURL}}assets/test-support.js"></script>
<script src="{{rootURL}}assets/ccdb-web.js"></script> <script src="{{rootURL}}assets/ccdb-web.js"></script>