@lynxwall/cucumber-tsflow 5.1.1 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -115,7 +115,7 @@ The following example demonstrates executing cucumber-tsflow from the command li
115
115
 
116
116
  ```bash
117
117
  C:\GitHub\cucumber-js-tsflow (dev -> origin)
118
- λ yarn test
118
+ λ npx cucumber-tsflow
119
119
  Loading configuration and step definitions...
120
120
 
121
121
  beforeAll was called
@@ -134,7 +134,31 @@ beforeAll was called
134
134
 
135
135
  To recap, cucumber-tsflow extends cucumber-js, which means that all options and features provided by cucumber-js are supported with cucumber-tsflow. In other words, when executing tests using cucumber-tsflow the underlying cucumber API is actually used to run the tests.
136
136
 
137
- ### New Configuration options
137
+ ### Executing with script in package.json
138
+
139
+ You can also add a script to package.json to execute the tests as shown below:
140
+
141
+ ```json
142
+ "scripts": {
143
+ "test": "cucumber-tsflow -p default"
144
+ }
145
+ ```
146
+
147
+ With this script in place you can execute the tests using npm or yarn,
148
+
149
+ #### npm
150
+
151
+ ```bash
152
+ npm run test
153
+ ```
154
+
155
+ #### yarn
156
+
157
+ ```bash
158
+ yarn test
159
+ ```
160
+
161
+ ## New Configuration options
138
162
 
139
163
  As mentioned, when using cucumber-tsflow to execute tests all of the configuration options documented here are supported: <https://github.com/cucumber/cucumber-js/blob/v8.0.0/docs/configuration.md>
140
164
 
@@ -170,7 +194,6 @@ When configuring cucumber to execute tests you can specify which transpiler to u
170
194
  "publishQuiet": true
171
195
  }
172
196
  }
173
-
174
197
  ```
175
198
 
176
199
  ##### Alternate without using the transpiler option
@@ -184,7 +207,6 @@ You can also use the `requireModule` parameter to configure a transpiler. The fo
184
207
  "publishQuiet": true
185
208
  }
186
209
  }
187
-
188
210
  ```
189
211
 
190
212
  #### Debug File support
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "5.1.1";
1
+ export declare const version = "5.1.2";
package/lib/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = '5.1.1';
5
+ exports.version = '5.1.2';
6
6
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJCQUEyQjtBQUNkLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQSJ9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lynxwall/cucumber-tsflow",
3
3
  "description": "Provides 'specflow' like bindings for CucumberJS 8.5.0+ in TypeScript 1.7+.",
4
- "version": "5.1.1",
4
+ "version": "5.1.2",
5
5
  "author": "Lonnie Wall <lynxdev@lynxwall.com>",
6
6
  "license": "MIT",
7
7
  "main": "./lib/index",