diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-09-19 14:03:27 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-09-19 20:20:55 +0200 |
commit | 7d7bfd09c1bdbe753899265ef15212b0e4682c32 (patch) | |
tree | 6dbd3525482056ae8375a730bb2be26e5eda8485 /server/sonar-docs/package.json | |
parent | 4f5e9d9f87a37dc04fa147667afee85743cab643 (diff) | |
download | sonarqube-7d7bfd09c1bdbe753899265ef15212b0e4682c32.tar.gz sonarqube-7d7bfd09c1bdbe753899265ef15212b0e4682c32.zip |
MMF-1420 Ease management of Embedded Docs navigation (#699)
Diffstat (limited to 'server/sonar-docs/package.json')
-rw-r--r-- | server/sonar-docs/package.json | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json index b94d672d5f2..15091a0dc94 100644 --- a/server/sonar-docs/package.json +++ b/server/sonar-docs/package.json @@ -22,17 +22,31 @@ "typography": "^0.16.16" }, "scripts": { - "build": "gatsby build --prefix-paths", + "build": "yarn jest && gatsby build --prefix-paths", "develop": "gatsby develop", "start": "serve public/", "format": "prettier --write 'src/**/*.{md,js}'" }, "devDependencies": { - "prettier": "^1.12.0" + "glob-promise": "3.4.0", + "jest": "23.6.0", + "prettier": "^1.12.0", + "remark": "9.0.0", + "unist-util-visit": "1.4.0" }, "prettier": { "jsxBracketSameLine": true, "printWidth": 100, "singleQuote": true + }, + "jest": { + "moduleFileExtensions": [ + "js" + ], + "testPathIgnorePatterns": [ + "<rootDir>/node_modules", + "<rootDir>/.cache" + ], + "testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$" } } |