Skip to content

Commit

Permalink
Introduced Lerna and distributed stuff in packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Tarazaga committed Sep 6, 2019
1 parent 4e1d4a9 commit aa1d063
Show file tree
Hide file tree
Showing 559 changed files with 32,958 additions and 12,631 deletions.
21 changes: 16 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# dependencies
node_modules

# env variables
.env.local

# production
build
dist
*.log
.idea
www
.deliver

# misc
*.iml
*/**/openzeppelin.json
.env.local
*.log
.DS_Store
npm-debug.log
yarn-error.log
.vscode
.idea
lerna-debug.log
23 changes: 23 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const gulp = require('gulp');
const { series } = require('gulp');

function copyDashboard() {
return gulp
.src('packages/dashboard/dist/**/*')
.pipe(
gulp.dest('www')
);
}

function copyWebServer() {
return gulp
.src('packages/web-server/dist/**/*')
.pipe(
gulp.dest('www')
);
}

// export tasks
exports.copyDashboard = copyDashboard;
exports.copyWebServer = copyWebServer;
exports.default = series(copyDashboard, copyWebServer);
7 changes: 7 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"npmClient": "npm",
"packages": [
"packages/*"
],
"version": "independent"
}
Loading

0 comments on commit aa1d063

Please sign in to comment.