Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
feat(Release): ❄️ Run build before tests in order to have built code …
Browse files Browse the repository at this point in the history
…in the release
  • Loading branch information
ChrisJamesC committed Jul 20, 2017
1 parent abf1ad0 commit dc174ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"prebuild": "rimraf dist",
"build": "tsc && rollup -c && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal src",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"test": "jest",
"test": "npm run build && jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
Expand Down Expand Up @@ -90,7 +90,6 @@
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",
"cz-conventional-changelog": "^2.0.0",
"husky": "^0.14.0",
"jest": "^20.0.4",
"lint-staged": "^4.0.0",
"lodash.camelcase": "^4.3.0",
Expand Down Expand Up @@ -123,4 +122,4 @@
"react-dom": "^15.6.1",
"react-intl": "^2.3.0"
}
}
}
29 changes: 3 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -793,20 +793,13 @@ cross-env@^5.0.1:
cross-spawn "^5.1.0"
is-windows "^1.0.0"

[email protected]:
[email protected], cross-spawn@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.0.tgz#8254774ab4786b8c5b3cf4dfba66ce563932c252"
dependencies:
lru-cache "^4.0.1"
which "^1.2.9"

cross-spawn@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
dependencies:
lru-cache "^4.0.1"
which "^1.2.9"

cross-spawn@^5.0.1, cross-spawn@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
Expand Down Expand Up @@ -880,13 +873,13 @@ dateformat@^1.0.11:
get-stdin "^4.0.1"
meow "^3.3.0"

debug@2, debug@^2.1.1, debug@^2.2.0, debug@^2.6.3:
debug@2, debug@^2.2.0, debug@^2.6.3:
version "2.6.8"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
dependencies:
ms "2.0.0"

[email protected]:
[email protected], debug@^2.1.1:
version "2.2.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
dependencies:
Expand Down Expand Up @@ -1564,14 +1557,6 @@ https-proxy-agent@^1.0.0:
debug "2"
extend "3"

husky@^0.14.0:
version "0.14.3"
resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3"
dependencies:
is-ci "^1.0.10"
normalize-path "^1.0.0"
strip-indent "^2.0.0"

[email protected]:
version "0.3.5"
resolved "https://registry.yarnpkg.com/i/-/i-0.3.5.tgz#1d2b854158ec8169113c6cb7f6b6801e99e211d5"
Expand Down Expand Up @@ -2660,10 +2645,6 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, "normalize-package
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"

normalize-path@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379"

normalize-path@^2.0.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
Expand Down Expand Up @@ -3688,10 +3669,6 @@ strip-indent@^1.0.1:
dependencies:
get-stdin "^4.0.1"

strip-indent@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"

[email protected], strip-json-comments@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
Expand Down

0 comments on commit dc174ab

Please sign in to comment.