Skip to content

Commit d848264

Browse files
committed
Cross-platform build
- added shx dev dependency, used to wrap clean command Signed-off-by: JBBianchi <[email protected]>
1 parent b46544e commit d848264

File tree

3 files changed

+191
-1
lines changed

3 files changed

+191
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ bower_components
44

55
# Editors
66
.idea
7+
.vscode
78
*.iml
89

910
# OS metadata

package-lock.json

Lines changed: 188 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
@@ -6,7 +6,7 @@
66
"typings": "dist/src/index.d.ts",
77
"scripts": {
88
"build": "npm run clean && tsc",
9-
"clean": "rm -rf dist",
9+
"clean": "node node_modules/shx/lib/shx rm -rf dist",
1010
"tsc": "tsc",
1111
"test": "npm run tsc && jasmine --config=./spec/support/jasmine.json"
1212
},
@@ -35,6 +35,7 @@
3535
"jasmine": "3.7.0",
3636
"jasmine-ts": "^0.3.2",
3737
"nodemon": "^2.0.7",
38+
"shx": "^0.3.3",
3839
"ts-node": "^9.1.1",
3940
"typescript": "4.2.3"
4041
},

0 commit comments

Comments
 (0)