diff --git a/package.json b/package.json index c750df2..beae644 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "webpack --mode production", "format": "npx prettier --write .", "clean": "npx rimraf main.js", - "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'" + "test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} mocha -r ts-node/register 'tests/**/*.ts'" }, "source": "main.ts", "keywords": [], @@ -19,6 +19,7 @@ "@types/mocha": "^9.0.0", "@types/node": "^14.14.37", "chai": "^4.3.4", + "cross-env": "^7.0.3", "mocha": "^9.1.3", "prettier": "^2.4.1", "terser-webpack-plugin": "^5.2.4",