Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["es2015"],
"presets": ["@babel/preset-env"],
"compact": false,
"comments": false
}
42 changes: 30 additions & 12 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,43 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"version": "2.0.0",
"command": "npm",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "install",
"args": ["install"]
"label": "install",
"type": "shell",
"args": [
"install"
],
"problemMatcher": []
},
{
"taskName": "build",
"args": ["run", "build"],
"isWatching": true,
"isBuildCommand": true
"label": "build",
"type": "shell",
"args": [
"run",
"build"
],
"isBackground": true,
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
},
{
"taskName": "test",
"args": ["run", "test"]
"label": "test",
"type": "shell",
"args": [
"run",
"test"
],
"problemMatcher": [],
"group": {
"_id": "test",
"isDefault": false
}
}
]
}
2 changes: 1 addition & 1 deletion bin/syncjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
var path = require('path');
var Sync = require(path.resolve(__dirname, '../dist/index.js')).default;
var Sync = require(path.resolve(__dirname, '../dist/src/index.js')).default;

new Sync();
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gulp.task("build", function () {
});

gulp.task("watch", function() {
gulp.watch("./src/**/*.ts", ["build"]);
gulp.watch("./src/**/*.ts", gulp.series("build"));
});

gulp.task("default", ["build", "watch"])
gulp.task("default", gulp.series("build", "watch"))
Loading