UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

19 lines (12 loc) 460 B
#!/usr/bin/env node const shell = require('shelljs') const resolvePkg = require('resolve-pkg') const { join } = require('path') shell.set('-v') // verbose shell.set('-e') // any error is fatal shell.rm('-rf', 'app') shell.mkdir('app') shell.cp('-r', join(resolvePkg('cypress-example-kitchensink'), 'app'), '.') shell.rm('-rf', 'cypress') shell.cp('-r', join(resolvePkg('cypress-example-kitchensink'), 'cypress'), '.') shell.exec('node ./bin/convert.js')