e2e-test: switch to using ts-node register to pass options

This commit is contained in:
Patrik Oldsberg
2020-08-23 15:33:15 +02:00
parent b73612df64
commit e8e6deb0e4
3 changed files with 27 additions and 2 deletions
+2 -2
View File
@@ -13,9 +13,9 @@
"backstage"
],
"license": "Apache-2.0",
"main": "src/index.ts",
"main": "src/index.js",
"scripts": {
"start": "yarn ts-node --transpile-only --compiler-options '{\"module\":\"CommonJS\"}' .",
"start": "node .",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"test:e2e": "yarn start"