refactor: init cypress-cucumber-preprocessor install.

This commit is contained in:
2021-09-02 17:02:45 +02:00
parent 89ec2d42ac
commit 1aa57bbd0a
5000 changed files with 408119 additions and 231 deletions

4
node_modules/browser-pack/bin/cmd.js generated vendored Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env node
var pack = require('../')();
process.stdin.pipe(pack).pipe(process.stdout);

21
node_modules/browser-pack/bin/prepublish.js generated vendored Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env node
var spawn = require('child_process').spawn;
var fs = require('fs');
var concat = require('concat-stream');
var path = require('path');
var uglify = spawn(
require.resolve('uglify-js/bin/uglifyjs'),
['--wrap-iife', '-c', 'side_effects=false,screw_ie8=false', '--verbose', '--ie8', '--passes=5', '-m', '--source-map', '--', '-']
);
fs.createReadStream(path.join(__dirname, '..', 'prelude.js'))
.pipe(uglify.stdin)
;
uglify.stdout
.pipe(concat({ encoding: 'string' }, function (str) {
fs.writeFileSync(path.join(__dirname, '..', '_prelude.js'), str.replace(/;\s*$/, ''));
}))
;