mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-16 13:09:31 +01:00
d338dcc7ce
* initial skeleton for jest testing * run in serial mocha, then jest on slate-react only * run-s without glob patterns https://github.com/yarnpkg/berry/issues/22 * don't run mocha on slate-react package * use yarn run instead of run-s
10 lines
203 B
JavaScript
10 lines
203 B
JavaScript
// Needed for jest.
|
|
module.exports = {
|
|
inputSourceMap: true,
|
|
presets: [
|
|
'@babel/preset-typescript',
|
|
['@babel/preset-env', { targets: { node: 'current' } }],
|
|
'@babel/preset-react',
|
|
],
|
|
}
|