You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/04/08 13:52:06 UTC
[camel-karavan] branch main updated: fix #291 add cross-env (#292)
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new baac7b5 fix #291 add cross-env (#292)
baac7b5 is described below
commit baac7b591063ff9b9c534f5546954517bfdf0bda
Author: cgballance <cg...@gmail.com>
AuthorDate: Fri Apr 8 09:52:01 2022 -0400
fix #291 add cross-env (#292)
* fix #291 add cross-env
* Fix #291 add cross-env
---
karavan-core/package.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/karavan-core/package.json b/karavan-core/package.json
index f6e00f2..28ada41 100644
--- a/karavan-core/package.json
+++ b/karavan-core/package.json
@@ -5,7 +5,7 @@
"description": "Apache Camel Karavan Core",
"scripts": {
"build": "tsc",
- "test": "TS_NODE_PROJECT=\"test/tsconfig.testing.json\" mocha -r ts-node/register test/**/*.spec.ts",
+ "test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.testing.json\" mocha -r ts-node/register test/**/*.spec.ts",
"prepare": "npm run build && npm run test",
"prepublishOnly": "npm run test"
},
@@ -51,6 +51,7 @@
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.23",
"chai": "^4.3.4",
+ "cross-env": "^7.0.3",
"fs": "^0.0.1-security",
"mocha": "^9.2.0",
"ts-node": "^10.4.0"