mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 22:21:19 +00:00
fix: specify environment in dotenv calls
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
982bc4ba59
commit
e3c82672cb
2 changed files with 10 additions and 10 deletions
|
@ -4,9 +4,9 @@
|
|||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"scripts": {
|
||||
"build" : "cross-env NODE_ENV=production dotenv -- ./build.sh",
|
||||
"build:mock" : "cross-env NEXT_PUBLIC_USE_MOCK_API=true dotenv -- ./build.sh",
|
||||
"build:test" : "cross-env NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true dotenv -c test -- ./build.sh",
|
||||
"build": "dotenv -v NODE_ENV=production -c production -- ./build.sh",
|
||||
"build:mock": "dotenv -v NEXT_PUBLIC_USE_MOCK_API=true -- ./build.sh",
|
||||
"build:test": "dotenv -v NODE_ENV=test -v NEXT_PUBLIC_TEST_MODE=true -c test -- ./build.sh",
|
||||
"analyze": "cross-env ANALYZE=true yarn build --profile",
|
||||
"format": "prettier -c \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"",
|
||||
"format:fix": "prettier -w \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"",
|
||||
|
@ -152,7 +152,7 @@
|
|||
"cypress": "13.1.0",
|
||||
"cypress-commands": "3.0.0",
|
||||
"cypress-fill-command": "1.0.2",
|
||||
"dotenv-cli" : "7.3.0",
|
||||
"dotenv-cli": "7.3.0",
|
||||
"eslint": "8.48.0",
|
||||
"eslint-config-next": "13.4.19",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
|
|
12
package.json
12
package.json
|
@ -12,12 +12,12 @@
|
|||
"markdown-it-plugins"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "dotenv -- turbo run build",
|
||||
"lint": "dotenv -- turbo run lint",
|
||||
"lint:fix": "dotenv -- turbo run lint:fix",
|
||||
"format": "dotenv -- turbo run format",
|
||||
"start:dev": "dotenv -- turbo run start:dev",
|
||||
"start": "dotenv -- turbo run start",
|
||||
"build": "dotenv -c production -- turbo run build",
|
||||
"lint": "dotenv -c development -- turbo run lint",
|
||||
"lint:fix": "dotenv -c development -- turbo run lint:fix",
|
||||
"format": "dotenv -c development -- turbo run format",
|
||||
"start:dev": "dotenv -c development -- turbo run start:dev",
|
||||
"start": "dotenv -c production -- turbo run start",
|
||||
"test:ci": "dotenv -c test -- turbo run test:ci",
|
||||
"test": "dotenv -c test -- turbo run test"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue