From c432b486baa26ba63180566471b07bf9b617ebb6 Mon Sep 17 00:00:00 2001 From: hexenq Date: Fri, 3 Aug 2018 12:44:48 +0800 Subject: [PATCH] build: update package.json --- package.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package.json b/package.json index 40133b6..ccad0ab 100644 --- a/package.json +++ b/package.json @@ -64,5 +64,19 @@ "jest": "^23.0.1", "kuroshiro-analyzer-kuromoji": "^1.0.0", "uglifyify": "^5.0.0" + }, + "browserify": { + "transform": [ + [ + "babelify" + ] + ] + }, + "jest": { + "transform": { + "^.+\\.jsx?$": "babel-jest" + }, + "testRegex": "(/test/.*|(\\.|/)(test|spec))\\.jsx?$", + "testURL": "http://localhost" } }