Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index e64c96ea..bbd8cd29 100644
--- a/package.json
+++ b/package.json
@@ -6,10 +6,11 @@
"author": "ffflabs <amenadiel@gmail.com>",
"license": "MIT",
"scripts": {
- "build": "npm run compile_less && workbox injectManifest workbox-config.js",
+ "build": "npm run compile_less && workbox injectManifest workbox-config.js && yarn disable_development_mode",
+ "disable_development_mode":"sed -i 's/development_assets=true/development_assets=false/' assets/templates/components/common_head.twig ",
"compile_less": "lessc assets/themes/global.less assets/themes/global.css",
"eslint": "eslint --fix --ext js --ignore-path .eslintignore assets",
- "prettier": "node_modules/.bin/prettier -c --config .prettierrc.js assets/{js,themes,templates}/*"
+ "prettier": "prettier -c --config .prettierrc assets/{js,themes}/*"
},
"devDependencies": {
"@types/jquery": "^3.5.1",