update lerna / add gulp

pull/7/head
yann300 6 years ago
parent 96083a484c
commit 8f0981f721
  1. 10
      gulpfile.js
  2. 11
      lerna.json
  3. 4
      package.json

@ -0,0 +1,10 @@
#!/usr/bin/env node
'use strict';
var gulp = require('gulp');
var lernaJSON = require('./lerna.json');
gulp.task('publishTag', function () {
exec("git tag v"+ lernaJSON.version +"; git push --tags");
});

@ -8,5 +8,14 @@
"remix-tests", "remix-tests",
"remix-simulator" "remix-simulator"
], ],
"version": "independent" "command": {
"init": {
"exact": true
},
"publish": {
"exact": true,
"skipGit": true
}
},
"version": "0.0.1"
} }

@ -1,9 +1,11 @@
{ {
"devDependencies": { "devDependencies": {
"gulp": "^3.9.1",
"lerna": "^2.10.2" "lerna": "^2.10.2"
}, },
"scripts": { "scripts": {
"bootstrap": "lerna bootstrap", "bootstrap": "lerna bootstrap",
"publish": "lerna publish" "publish": "lerna publish",
"release": "lerna bootstrap; lerna publish; gulp; gulp publishTag;"
} }
} }

Loading…
Cancel
Save