Skip to content

Commit

Permalink
added neutrinorc
Browse files Browse the repository at this point in the history
  • Loading branch information
unicar9 committed May 12, 2019
1 parent ffb1162 commit bae8741
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .neutrinorc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const copy = require('@neutrinojs/copy')

module.exports = {
options: {
root: __dirname,
tests: 'src'
},
use: [
copy({
patterns: [
{
from: 'src/static',
to: 'static'
},
{
from: 'manifest.json',
to: './manifest.json'
},
{
from: 'background.js',
to: './background.js'
}
]
}),
'@neutrinojs/standardjs',
['@neutrinojs/react', {
html: { title: 'New Tab' }
}],
['@neutrinojs/jest', {
setupTestFrameworkScriptFile: '<rootDir>/src/setupTests.js'
}]
]
};

0 comments on commit bae8741

Please sign in to comment.