From 76634db9bec10f52521d77fac970406fa8b3f36a Mon Sep 17 00:00:00 2001 From: iCrawl Date: Sun, 8 Mar 2020 20:18:40 +0100 Subject: [PATCH] chore: use cross-env to set env vars --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bf78b3eca..ed248062f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint:typings": "tslint typings/index.d.ts", "prettier": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts", "build:browser": "webpack", - "prepublishOnly": "npm run test && NODE_ENV=production npm run build:browser" + "prepublishOnly": "npm run test && cross-env NODE_ENV=production npm run build:browser" }, "repository": { "type": "git", @@ -78,6 +78,7 @@ "@commitlint/config-angular": "^8.3.4", "@types/node": "^10.12.24", "@types/ws": "^7.2.1", + "cross-env": "^7.0.2", "discord.js-docgen": "discordjs/docgen", "dtslint": "^3.0.0", "eslint": "^6.8.0",