Bootstrap deps

This commit is contained in:
Matthew Ryan Dillon 2016-07-11 15:07:49 -07:00
parent 403befab03
commit 794dd77f9c
11 changed files with 65 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{
"predef": [
"server",
"document",
"window",
"-Promise"

1
app/styles/app.scss Normal file
View file

@ -0,0 +1 @@
@import "ember-power-select";

View file

@ -4,6 +4,8 @@
"ember": "~2.6.0",
"ember-cli-shims": "0.1.1",
"ember-cli-test-loader": "0.2.2",
"ember-qunit-notifications": "0.1.0"
"ember-qunit-notifications": "0.1.0",
"pretender": "~1.1.0",
"Faker": "~3.1.0"
}
}

26
mirage/config.js Normal file
View file

@ -0,0 +1,26 @@
export default function() {
// These comments are here to help you get started. Feel free to delete them.
/*
Config (with defaults).
Note: these only affect routes defined *after* them!
*/
// this.urlPrefix = ''; // make this `http://localhost:8080`, for example, if your API is on a different server
// this.namespace = ''; // make this `api`, for example, if your API is namespaced
// this.timing = 400; // delay for each request, automatically set to 0 during testing
/*
Shorthand cheatsheet:
this.get('/posts');
this.post('/posts');
this.get('/posts/:id');
this.put('/posts/:id'); // or this.patch
this.del('/posts/:id');
http://www.ember-cli-mirage.com/docs/v0.2.x/shorthands/
*/
}

View file

@ -0,0 +1,11 @@
export default function(/* server */) {
/*
Seed your development database using your factories.
This data will not be loaded in your tests.
Make sure to define a factory for each model you want to create.
*/
// server.createList('post', 10);
}

View file

@ -0,0 +1,4 @@
import { JSONAPISerializer } from 'ember-cli-mirage';
export default JSONAPISerializer.extend({
});

View file

@ -25,18 +25,27 @@
"ember-cli-app-version": "^1.0.0",
"ember-cli-babel": "^5.1.6",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-flash": "1.3.16",
"ember-cli-htmlbars": "^1.0.3",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-jshint": "^1.0.0",
"ember-cli-mirage": "0.2.1",
"ember-cli-moment-shim": "2.0.0",
"ember-cli-qunit": "^1.4.0",
"ember-cli-release": "^0.2.9",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.6.0",
"ember-django-adapter": "1.1.2",
"ember-engines": "0.2.6",
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1",
"ember-moment": "7.0.0-beta.3",
"ember-power-select": "1.0.0-alpha.14",
"ember-power-select-with-create": "0.1.10",
"ember-resolver": "^2.0.3",
"ember-simple-auth": "1.1.0",
"ember-welcome-page": "^1.0.1",
"loader.js": "^4.0.1"
}

View file

@ -1,5 +1,6 @@
{
"predef": [
"server",
"document",
"window",
"location",

View file

@ -2,4 +2,5 @@ import Ember from 'ember';
export default function destroyApp(application) {
Ember.run(application, 'destroy');
server.shutdown();
}

View file

@ -0,0 +1,6 @@
import Ember from 'ember';
import FlashObject from 'ember-cli-flash/flash/object';
const { K } = Ember;
FlashObject.reopen({ init: K });

View file

@ -1,4 +1,6 @@
import resolver from './helpers/resolver';
import './helpers/flash-message';
import {
setResolver
} from 'ember-qunit';