diff --git a/package.json b/package.json index 8d9011ce3..dc5b129bc 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "tsc -p tsconfig.json", "lint": "yarn build && yarn lint:post-build", "lint:post-build": "node dist/index.js lint src test --ignore-pattern 'test/tests/lint'", - "test": "jest --config ./test/jest.config.json", + "test": "yarn build && jest --config ./test/jest.config.json", "watch": "chokidar \"./package.json\" \"./src/**/*.ts\" \"node_modules\\@jaredpalmer\\rollup-plugin-preserve-shebang\\dist\\index.js\" -c \"yarn build && echo Success\"", "start": "tsc -p tsconfig.json --watch" },