aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorphilippe-perrin-sonarsource <philippe.perrin@sonarsource.com>2019-06-12 10:15:16 +0200
committerSonarTech <sonartech@sonarsource.com>2019-06-13 20:21:14 +0200
commitbde4e3ef8b9a611dd3f01e07e2bdd32fd70ec96a (patch)
treedfc5679e1a362e2c5ce7a427ef22aac379e21404 /server
parent9d3773ab416fce66b8a9a5aa625d4c835e943494 (diff)
downloadsonarqube-bde4e3ef8b9a611dd3f01e07e2bdd32fd70ec96a.tar.gz
sonarqube-bde4e3ef8b9a611dd3f01e07e2bdd32fd70ec96a.zip
Add support for yarn format-* scripts on windows
Diffstat (limited to 'server')
-rw-r--r--server/sonar-docs/package.json4
-rw-r--r--server/sonar-vsts/package.json4
-rw-r--r--server/sonar-web/package.json4
3 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json
index fefe53c9881..9b36e9600b8 100644
--- a/server/sonar-docs/package.json
+++ b/server/sonar-docs/package.json
@@ -60,8 +60,8 @@
"develop": "gatsby develop",
"graphql-types": "gql-gen --url http://localhost:8000/___graphql --template typescript --out ./src/@types/graphql-types.d.ts",
"test": "jest",
- "format": "prettier --write --list-different 'src/**/*.{js,ts,tsx,css}'",
- "format-check": "prettier --list-different 'src/**/*.{js,ts,tsx,css}'",
+ "format": "prettier --write --list-different \"src/**/*.{js,ts,tsx,css}\"",
+ "format-check": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
"lint": "eslint --ext js,ts,tsx --quiet src",
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src",
"ts-check": "tsc --noEmit",
diff --git a/server/sonar-vsts/package.json b/server/sonar-vsts/package.json
index ea40f80df72..c38918dc0a1 100644
--- a/server/sonar-vsts/package.json
+++ b/server/sonar-vsts/package.json
@@ -74,8 +74,8 @@
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "jest --passWithNoTests",
- "format": "prettier --write --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
- "format-check": "prettier --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
+ "format": "prettier --write --list-different \"src/main/js/!(libs)/**/*.{js,ts,tsx,css}\"",
+ "format-check": "prettier --list-different \"src/main/js/!(libs)/**/*.{js,ts,tsx,css}\"",
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
"ts-check": "tsc --noEmit",
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 4139065226d..652397674a7 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -133,8 +133,8 @@
"build": "node scripts/build.js",
"build-release": "node scripts/build.js release",
"test": "jest",
- "format": "prettier --write --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
- "format-check": "prettier --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
+ "format": "prettier --write --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
+ "format-check": "prettier --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
"ts-check": "tsc --noEmit",