UNPKG

aurelia-view-manager

Version:

A view manager for aurelia plugins. Add support for overriding views, and multiple frameworks

70 lines (57 loc) 1.78 kB
/************************************************/ /* spoonx-tools configuration */ /* @see https://github.com/SpoonX/spoonx-tools */ /************************************************/ var appRoot = 'src/'; module.exports = { path: { root: appRoot, /* options and their defaults */ /* js files to ignore * * ignore: [], */ /* future use: use TypeScript or Babel for transpiling * * useTypeScriptForDTS: false, */ /* Imports to append to the import block of the main file. * Add here eg. non-concated local imports in the main file as they will * get removed during the build process (ValueConverters, CustomElements). * * importsToAdd: ["import {AssociationSelect} from './association-select';"], */ /* js to be transpiled, but not be concated * (ValueConverters, CustomElements) * * jsResources: [appRoot + 'association-select.js'], */ /* other resources that need to get copied keeping their path * resources: appRoot + '{** / *.css,** / *.html}', */ resources: appRoot + '{**/*.css,**/*.html}', /* imports that are only used internally, eg 'extend'. no need to d.ts export them * * importsToIgnoreForDts: ['extend'], */ importsToIgnoreForDts: ['extend'], /* sort when concating * sort: true, */ sort: true, /* concat js files * concat: true, */ concat: true, /* default options overwrites for karma * karma: {browsers: ['Chrome']} */ karma: { jspm: { // Edit this to your needs loadFiles: ['test/setup.js', 'test/**/*.spec.js'], serveFiles: ['src/**/*', 'dist/**/*', 'test/resources/**/*'] } } } };