mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23: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",
|
"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",
|
"prettier": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts",
|
||||||
"build:browser": "webpack",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -78,6 +78,7 @@
|
|||||||
"@commitlint/config-angular": "^8.3.4",
|
"@commitlint/config-angular": "^8.3.4",
|
||||||
"@types/node": "^10.12.24",
|
"@types/node": "^10.12.24",
|
||||||
"@types/ws": "^7.2.1",
|
"@types/ws": "^7.2.1",
|
||||||
|
"cross-env": "^7.0.2",
|
||||||
"discord.js-docgen": "discordjs/docgen",
|
"discord.js-docgen": "discordjs/docgen",
|
||||||
"dtslint": "^3.0.0",
|
"dtslint": "^3.0.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user