Skip to content

Commit

Permalink
chore: remove build files before compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
fgladisch committed Mar 26, 2018
1 parent 515a206 commit 8d6c4ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"@types/node": "9.6.0",
"chai": "4.1.2",
"mocha": "5.0.5",
"rimraf": "2.6.2",
"ts-node": "5.0.1",
"tslint": "5.9.1",
"tslint-config-prettier": "1.10.0",
"typescript": "2.7.2"
},
"scripts": {
"build": "tsc",
"build": "rimraf dist && tsc",
"test": "mocha -r ts-node/register src/**/*.test.ts",
"prepublishOnly": "yarn test && yarn build"
}
Expand Down
22 changes: 14 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# yarn lockfile v1


"@types/chai@^4.1.2":
"@types/[email protected]":
version "4.1.2"
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.2.tgz#f1af664769cfb50af805431c407425ed619daa21"

"@types/mocha@^5.0.0":
"@types/[email protected]":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.0.0.tgz#a3014921991066193f6c8e47290d4d598dfd19e6"

"@types/node@^9.6.0":
"@types/[email protected]":
version "9.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.0.tgz#d3480ee666df9784b1001a1872a2f6ccefb6c2d7"

Expand Down Expand Up @@ -69,7 +69,7 @@ builtin-modules@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"

chai@^4.1.2:
[email protected]:
version "4.1.2"
resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c"
dependencies:
Expand Down Expand Up @@ -160,7 +160,7 @@ get-func-name@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"

[email protected], glob@^7.1.1:
[email protected], glob@^7.0.5, glob@^7.1.1:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
dependencies:
Expand Down Expand Up @@ -239,7 +239,7 @@ [email protected], mkdirp@^0.5.1:
dependencies:
minimist "0.0.8"

mocha@^5.0.5:
[email protected]:
version "5.0.5"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.5.tgz#e228e3386b9387a4710007a641f127b00be44b52"
dependencies:
Expand Down Expand Up @@ -282,6 +282,12 @@ resolve@^1.3.2:
dependencies:
path-parse "^1.0.5"

rimraf@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
glob "^7.0.5"

semver@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
Expand Down Expand Up @@ -322,7 +328,7 @@ supports-color@^5.3.0:
dependencies:
has-flag "^3.0.0"

ts-node@^5.0.1:
[email protected]:
version "5.0.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-5.0.1.tgz#78e5d1cb3f704de1b641e43b76be2d4094f06f81"
dependencies:
Expand All @@ -339,7 +345,7 @@ tslib@^1.8.0, tslib@^1.8.1:
version "1.9.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"

tslint-config-prettier@^1.10.0:
[email protected]:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.10.0.tgz#5063c413d43de4f6988c73727f65ecfc239054ec"

Expand Down

0 comments on commit 8d6c4ec

Please sign in to comment.