From c03cfdf8bdb7de4a48edb66ac4117acea9989a32 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 17 Sep 2017 11:25:50 -0700 Subject: [PATCH] Add compile task to build task --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 979ecddb..55f15ecf 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "scripts": { "benchmark": "cd benchmarks && yarn && webpack && open index.html", - "build": "webpack --config webpack.config.js --sort-assets-by --progress", + "build": "yarn compile && webpack --config webpack.config.js --sort-assets-by --progress", "clean-dist": "del ./dist && mkdir dist", "compile": "babel src -d dist --ignore *-test.js", "docs:build": "cd docs && yarn build", @@ -25,7 +25,7 @@ "lint": "yarn lint:cmd -- babel benchmarks docs src", "lint:cmd": "eslint --ignore-path .gitignore --fix", "precommit": "lint-staged", - "release": "yarn clean-dist && yarn lint && yarn test && yarn compile && yarn build && npm publish", + "release": "yarn clean-dist && yarn lint && yarn test && yarn build && npm publish", "test": "flow && jest" }, "babel": {