Switch to ESM
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
[ '@babel/env', {
|
||||
useBuiltIns: 'usage'
|
||||
}]
|
||||
]
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
import { Before, Given, Then } from 'cucumber'
|
||||
import { Before, Given, Then } from '@cucumber/cucumber'
|
||||
import { expect } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Before, Given, Then } from 'cucumber'
|
||||
import { Before, Given, Then } from '@cucumber/cucumber'
|
||||
import { expect } from 'chai'
|
||||
import R from 'ramda'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Before, Given, Then } from 'cucumber'
|
||||
import { Before, Given, Then } from '@cucumber/cucumber'
|
||||
import { expect } from 'chai'
|
||||
|
||||
function step (name) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { setWorldConstructor } from 'cucumber'
|
||||
import { setWorldConstructor } from '@cucumber/cucumber'
|
||||
|
||||
setWorldConstructor(function () {
|
||||
this.names = []
|
||||
|
3925
reuse/package-lock.json
generated
3925
reuse/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,21 +3,18 @@
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "cucumber-js --require-module '@babel/register'"
|
||||
"test": "cucumber-js"
|
||||
},
|
||||
"author": "Eugen Wissner <belka@caraus.de>",
|
||||
"license": "MPL-2.0",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@babel/preset-env": "^7.2.3",
|
||||
"@babel/register": "^7.0.0",
|
||||
"babel-loader": "^8.0.4",
|
||||
"chai": "^4.2.0",
|
||||
"cucumber": "^5.1.0"
|
||||
"chai": "^5.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@cucumber/cucumber": "^11.1.1",
|
||||
"lodash": "^4.17.11",
|
||||
"ramda": "^0.26.1"
|
||||
"ramda": "^0.30.1"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user