Skip to content

Commit

Permalink
feat(core): support build command
Browse files Browse the repository at this point in the history
Add support for `buildCommand` configuration option. This allows users to configure a command which is run inside the sandbox just before actual mutation testing starts, but after the files are mutated.

This can be used to run transpilation or bundling for setups where the test runner doesn't already take care of that.

For example:

```json
{
  "buildCommand": "npm run build"
}
```

Chore:
* Add dependency on `execa` and `npm-run-path` to help with the running of a command
* Enable 2 more e2e tests: `vue-javascript` nad `webpack-zero-conf-karma`
  • Loading branch information
nicojs committed Jul 4, 2020
1 parent 963e289 commit f71ba87
Show file tree
Hide file tree
Showing 25 changed files with 482 additions and 248,966 deletions.
319 changes: 319 additions & 0 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion e2e/package.json
Expand Up @@ -36,7 +36,8 @@
"ts-loader": "^7.0.3",
"ts-node": "~7.0.0",
"typescript": "~3.9.2",
"webpack": "~4.41.2"
"webpack": "~4.41.2",
"webpack-cli": "^3.3.12"
},
"scripts": {
"postinstall": "node ../node_modules/lerna/cli.js bootstrap && npm run install-local-dependencies && link-parent-bin -c test --link-local-dependencies true",
Expand Down

0 comments on commit f71ba87

Please sign in to comment.