cms/app-client/ember-cli-build.js
author ymh <ymh.work@gmail.com>
Sun, 02 Oct 2016 16:50:11 +0200
changeset 309 6ab16926b675
parent 261 02e2396bcbbc
child 393 5ef3bfef0bff
permissions -rw-r--r--
update maps to use geonames ids
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
136
5fed7e1716c2 upgrade ember and ember cli
ymh <ymh.work@gmail.com>
parents: 123
diff changeset
     1
/*jshint node:true*/
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
/* global require, module */
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     4
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     5
module.exports = function(defaults) {
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
     6
    var app = new EmberApp(defaults, {
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
     7
        // Add options here
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
     8
        sassOptions: {
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
     9
            includePaths: [
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    10
                'bower_components/bootstrap-sass/assets/stylesheets/'
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    11
            ]
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    12
        },
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    13
        fingerprint: {
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    14
            enabled: false
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    15
        }
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    16
    });
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    17
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    18
    // Use `app.import` to add additional libraries to the generated
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    19
    // output files.
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    20
    //
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    21
    // If you need to use different assets in different
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    22
    // environments, specify an object as the first parameter. That
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    23
    // object's keys should be the environment name and the values
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    24
    // should be the asset to use in that environment.
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    25
    //
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    26
    // If the library that you are including contains AMD or ES6
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    27
    // modules that you would like to import into your application
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    28
    // please specify an object with the list of modules as keys
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    29
    // along with the exports of each module as its value.
221
0bee030d7411 Add popcorn-js in dependencies
Chloe Laisne <chloe.laisne@gmail.com>
parents: 173
diff changeset
    30
    app.import('bower_components/popcorn-js/popcorn.js');
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    31
    app.import('bower_components/ammap3/ammap/ammap.js');
309
6ab16926b675 update maps to use geonames ids
ymh <ymh.work@gmail.com>
parents: 261
diff changeset
    32
    app.import('vendor/data/maps/worldLow.js');
6ab16926b675 update maps to use geonames ids
ymh <ymh.work@gmail.com>
parents: 261
diff changeset
    33
    app.import('vendor/data/maps/continentsLow.js');
6ab16926b675 update maps to use geonames ids
ymh <ymh.work@gmail.com>
parents: 261
diff changeset
    34
    app.import('vendor/data/maps/france2016Low.js');
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    35
    app.import('vendor/shims/ammaps.js', {
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    36
        exports: {
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    37
            'ammaps': ['defaults']
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    38
        }
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    39
    });
261
02e2396bcbbc Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)
ymh <ymh.work@gmail.com>
parents: 221
diff changeset
    40
    app.import('vendor/shims/popcorn.js', {
02e2396bcbbc Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)
ymh <ymh.work@gmail.com>
parents: 221
diff changeset
    41
        exports: {
02e2396bcbbc Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)
ymh <ymh.work@gmail.com>
parents: 221
diff changeset
    42
            'popcorn': ['defaults']
02e2396bcbbc Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)
ymh <ymh.work@gmail.com>
parents: 221
diff changeset
    43
        }
02e2396bcbbc Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)
ymh <ymh.work@gmail.com>
parents: 221
diff changeset
    44
    });
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    45
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents: 136
diff changeset
    46
    return app.toTree();
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    47
};