19 |
Aurelia Navigation Skeleton
20 |
21 |
22 |
23 |
24 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/karma.conf.js:
--------------------------------------------------------------------------------
1 | // Karma configuration
2 | // Generated on Fri Dec 05 2014 16:49:29 GMT-0500 (EST)
3 |
4 | module.exports = function(config) {
5 | config.set({
6 |
7 | // base path that will be used to resolve all patterns (eg. files, exclude)
8 | basePath: '',
9 |
10 |
11 | // frameworks to use
12 | // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13 | frameworks: ['jspm', 'jasmine'],
14 |
15 | jspm: {
16 | // Edit this to your needs
17 | loadFiles: ['src/**/*.js', 'test/unit/**/*.js']
18 | },
19 |
20 |
21 | // list of files / patterns to load in the browser
22 | files: [],
23 |
24 |
25 | // list of files to exclude
26 | exclude: [
27 | ],
28 |
29 |
30 | // preprocess matching files before serving them to the browser
31 | // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
32 | preprocessors: {
33 | 'test/**/*.js': ['6to5'],
34 | 'src/**/*.js': ['6to5']
35 | },
36 | '6to5Preprocessor': {
37 | options: {
38 | sourceMap: 'inline',
39 | modules: 'system',
40 | moduleIds: false
41 | }
42 | },
43 |
44 | // test results reporter to use
45 | // possible values: 'dots', 'progress'
46 | // available reporters: https://npmjs.org/browse/keyword/karma-reporter
47 | reporters: ['progress'],
48 |
49 |
50 | // web server port
51 | port: 9876,
52 |
53 |
54 | // enable / disable colors in the output (reporters and logs)
55 | colors: true,
56 |
57 |
58 | // level of logging
59 | // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
60 | logLevel: config.LOG_INFO,
61 |
62 |
63 | // enable / disable watching file and executing tests whenever any file changes
64 | autoWatch: true,
65 |
66 |
67 | // start these browsers
68 | // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
69 | browsers: ['Chrome'],
70 |
71 |
72 | // Continuous Integration mode
73 | // if true, Karma captures browsers, runs the tests and exits
74 | singleRun: false
75 | });
76 | };
77 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "aurelia-skeleton-navigation",
3 | "version": "0.9.5",
4 | "description": "A starter kit for building a standard navigation-style app with Aurelia.",
5 | "keywords": [
6 | "aurelia",
7 | "navigation",
8 | "skeleton"
9 | ],
10 | "homepage": "http://aurelia.io",
11 | "bugs": {
12 | "url": "https://github.com/aurelia/skeleton-navigation/issues"
13 | },
14 | "license": "MIT",
15 | "author": "Rob Eisenberg