feat: add scripts package for locally used scripts

This commit is contained in:
iCrawl
2022-06-04 19:07:50 +02:00
parent 3401fd4eb6
commit f2ae1f9348
25 changed files with 479 additions and 58 deletions

View File

@@ -0,0 +1,18 @@
/**
* @type {import('@babel/core').TransformOptions}
*/
module.exports = {
parserOpts: { strictMode: true },
sourceMaps: 'inline',
presets: [
[
'@babel/preset-env',
{
targets: { node: 'current' },
modules: 'commonjs',
},
],
'@babel/preset-typescript',
],
plugins: ['babel-plugin-transform-typescript-metadata', ['@babel/plugin-proposal-decorators', { legacy: true }]],
};