Skip to content

Commit 56636a9

Browse files
author
Nikos Katsikanis
committed
add test command
1 parent 998c153 commit 56636a9

File tree

4 files changed

+149
-3
lines changed

4 files changed

+149
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.idea
22
node_modules
33
npm-debug.log
4-
*.js
4+
testOutput

package-lock.json

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "index.ts",
66
"scripts": {
7-
"test": "tsc"
7+
"test": "tsc && shx rm -rf testOutput"
88
},
99
"repository": {
1010
"type": "git",
@@ -19,6 +19,7 @@
1919
"homepage": "https://github.com/quantuminformation/vanilla-typescript#readme",
2020
"devDependencies": {
2121
"prettier": "^1.18.2",
22+
"shx": "^0.3.2",
2223
"typescript": "^3.5.3"
2324
},
2425
"pre-commit": "test"

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"exclude": [
33
"node_modules"
4-
]
4+
],
5+
"compilerOptions": {
6+
"outDir": "testOutput"
7+
}
58
}
69

0 commit comments

Comments
 (0)