aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/package.json
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-03-27 16:06:20 +0100
committersonartech <sonartech@sonarsource.com>2019-03-29 09:45:00 +0100
commitcb53cd80dd1167d68caaee15cfcec058b01fff5d (patch)
treea37d015c56108b406dd2130cacc9ec447aec1863 /server/sonar-docs/package.json
parent0c5b4644cf0ca5487516c581530c67a86bc0342f (diff)
downloadsonarqube-cb53cd80dd1167d68caaee15cfcec058b01fff5d.tar.gz
sonarqube-cb53cd80dd1167d68caaee15cfcec058b01fff5d.zip
Improve front end local build time
Diffstat (limited to 'server/sonar-docs/package.json')
-rw-r--r--server/sonar-docs/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json
index f85cb95950c..db49904f1a0 100644
--- a/server/sonar-docs/package.json
+++ b/server/sonar-docs/package.json
@@ -55,7 +55,7 @@
"unist-util-visit": "1.4.0"
},
"scripts": {
- "build": "gatsby clean && yarn jest src/__tests__/ && gatsby build --prefix-paths",
+ "build": "gatsby clean && gatsby build --prefix-paths",
"develop": "gatsby develop",
"graphql-types": "gql-gen --url http://localhost:8000/___graphql --template typescript --out ./src/@types/graphql-types.d.ts",
"test": "jest",
@@ -63,7 +63,8 @@
"format-check": "prettier --list-different 'src/**/*.{js,ts,tsx,css}'",
"lint": "eslint --ext js,ts,tsx --quiet src",
"ts-check": "tsc --noEmit",
- "validate": "yarn lint && yarn ts-check && yarn format-check && yarn test"
+ "validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
+ "validate-ci": "yarn lint && yarn ts-check && yarn format-check && yarn test"
},
"prettier": {
"jsxBracketSameLine": true,