-
Notifications
You must be signed in to change notification settings - Fork 0
/
.neutrinorc.js
35 lines (32 loc) · 927 Bytes
/
.neutrinorc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const airbnbBase = require('@neutrinojs/airbnb-base');
const library = require('@neutrinojs/library');
const karma = require('@neutrinojs/karma');
const { join } = require('path');
const jqueryPath = require.resolve('jquery');
const angularPath = require.resolve('angular/angular.js');
const angularMockPath = require.resolve('angular-mocks/angular-mocks.js');
const tests = join(__dirname, 'test/**/*_test.js');
module.exports = {
options: {
root: __dirname,
},
use: [
airbnbBase(),
library({
name: 'cr-transclude'
}),
karma({
files: [
{ pattern: jqueryPath, included: true, watched: false },
{ pattern: angularPath, included: true, watched: false },
{ pattern: angularMockPath, included: true, watched: false },
{
pattern: tests,
watched: false,
included: true,
served: true,
},
],
}),
],
};