UNPKG

aurelia-bootstrapper-webpack

Version:

Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.

36 lines (30 loc) 740 B
var path = require('path'); var fs = require('fs'); // hide warning // var emitter = require('events'); emitter.defaultMaxListeners = 20; var appRoot = 'src/'; var pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8')); var paths = { root: appRoot, source: appRoot + '**/*.js', html: appRoot + '**/*.html', style: 'styles/**/*.css', output: 'dist/', doc:'./doc', e2eSpecsSrc: 'test/e2e/src/*.js', e2eSpecsDist: 'test/e2e/dist/', exampleSource: 'doc/example/', exampleOutput: 'doc/example-dist/', packageName: pkg.name, ignore: [], useTypeScriptForDTS: false, importsToAdd: [], sort: false }; paths.files = [ 'index.js' ].map(function(file){ return paths.root + file; }); module.exports = paths;