From 68c2715107d65520872dcce72f93bb1ef85c19eb Mon Sep 17 00:00:00 2001 From: sualko Date: Wed, 10 Jun 2020 13:57:57 +0200 Subject: [PATCH] chore: add yarn test --- package.json | 3 +++ yarn.lock | 26 +++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4687b78..f701775 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,8 @@ "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js", "dev": "NODE_ENV=development webpack --progress --config webpack.dev.js", "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", + "test": "run-p --continue-on-error --print-label test:**", + "test:php:unit": "dotenv ./vendor/bin/phpunit -c phpunit.xml", "fix": "run-p --continue-on-error --print-label lint:fix:*", "lint": "run-p --continue-on-error --print-label lint:*", "lint:script": "eslint --ext .tsx,.ts ts", @@ -74,6 +76,7 @@ "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "css-loader": "^3.4.2", + "dotenv-cli": "^3.1.0", "eslint": "^6.8.0", "eslint-config-standard": "^12.0.0", "eslint-import-resolver-webpack": "^0.12.1", diff --git a/yarn.lock b/yarn.lock index 7b5c43a..a50d953 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2765,6 +2765,15 @@ cross-spawn@^7.0.0: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -3058,7 +3067,22 @@ dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" -dotenv@^8.2.0: +dotenv-cli@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/dotenv-cli/-/dotenv-cli-3.1.0.tgz#489f78b58bcc6971be2362ba27be73c5c08fd86f" + integrity sha512-sT16Zg7m71IVP/MX2ZBm6JBu6fy8aEgN9kJPywaYhBZnmq7MSQbpvCEhuiGPI08X8G+CQ1Gj/oZZUH1lGvGmqA== + dependencies: + cross-spawn "^7.0.1" + dotenv "^8.1.0" + dotenv-expand "^5.1.0" + minimist "^1.1.3" + +dotenv-expand@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" + integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== + +dotenv@^8.1.0, dotenv@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==