mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05: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}\"",
|
||||
|
|
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