From bae8741690a24fd98a96b4e5d067c017bf96b901 Mon Sep 17 00:00:00 2001 From: Unicar Date: Mon, 13 May 2019 00:35:51 +1000 Subject: [PATCH] added neutrinorc --- .neutrinorc.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .neutrinorc.js diff --git a/.neutrinorc.js b/.neutrinorc.js new file mode 100644 index 0000000..fc85f71 --- /dev/null +++ b/.neutrinorc.js @@ -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: '/src/setupTests.js' + }] + ] +};