mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: use cross-env to set env vars
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user