Skip to content

Commit ee3e697

Browse files
fix: add cross-env
1 parent 357edab commit ee3e697

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"author": "Mikhail Yarmaliuk",
2929
"license": "Apache-2.0",
3030
"scripts": {
31-
"test": "cross-env NODE_ENV=tests TS_NODE_COMPILER_OPTIONS={\\\"target\\\":\\\"es6\\\"} mocha --harmony --no-warnings __tests__ --require ts-node/register --recursive --unhandled-rejections=strict --exit",
32-
"lint:check": "eslint --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
33-
"lint:format": "eslint --fix --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
31+
"test": "cross-env NODE_ENV=tests TS_NODE_COMPILER_OPTIONS={\\\"target\\\":\\\"es6\\\"} mocha --harmony --no-warnings __tests__ --require ts-node/register --recursive --unhandled-rejections=strict --exit",
32+
"lint:check": "eslint --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
33+
"lint:format": "eslint --fix --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
3434
"ts:check": "tsc --project ./tsconfig.json --skipLibCheck --noemit",
3535
"build": "rollup -c",
3636
"prepare": "husky install"
@@ -59,6 +59,7 @@
5959
"@types/uuid": "^8.3.4",
6060
"@zerollup/ts-transform-paths": "^1.7.18",
6161
"chai": "^4.3.6",
62+
"cross-env": "^7.0.3",
6263
"eslint": "^8.25.0",
6364
"eslint-config-prettier": "^8.5.0",
6465
"eslint-plugin-prettier": "^4.2.1",

0 commit comments

Comments
 (0)