Initial Sample.
This commit is contained in:
16
graphql-subscription/node_modules/zen-observable/scripts/babel-plugins.js
generated
vendored
Normal file
16
graphql-subscription/node_modules/zen-observable/scripts/babel-plugins.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = [
|
||||
'@babel/plugin-transform-arrow-functions',
|
||||
'@babel/plugin-transform-block-scoped-functions',
|
||||
'@babel/plugin-transform-block-scoping',
|
||||
'@babel/plugin-transform-classes',
|
||||
'@babel/plugin-transform-computed-properties',
|
||||
'@babel/plugin-transform-destructuring',
|
||||
'@babel/plugin-transform-duplicate-keys',
|
||||
'@babel/plugin-transform-for-of',
|
||||
'@babel/plugin-transform-literals',
|
||||
'@babel/plugin-transform-modules-commonjs',
|
||||
'@babel/plugin-transform-parameters',
|
||||
'@babel/plugin-transform-shorthand-properties',
|
||||
'@babel/plugin-transform-spread',
|
||||
'@babel/plugin-transform-template-literals',
|
||||
];
|
||||
7
graphql-subscription/node_modules/zen-observable/scripts/build.js
generated
vendored
Normal file
7
graphql-subscription/node_modules/zen-observable/scripts/build.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
const { execSync } = require('child_process');
|
||||
const plugins = require('./babel-plugins');
|
||||
|
||||
execSync('babel src --out-dir lib --plugins=' + plugins.join(','), {
|
||||
env: process.env,
|
||||
stdio: 'inherit',
|
||||
});
|
||||
3
graphql-subscription/node_modules/zen-observable/scripts/mocha-require.js
generated
vendored
Normal file
3
graphql-subscription/node_modules/zen-observable/scripts/mocha-require.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
require('@babel/register')({
|
||||
plugins: require('./babel-plugins'),
|
||||
});
|
||||
Reference in New Issue
Block a user