From 5d91b0a202cd2050a92bdab17f6fb67339dde7c4 Mon Sep 17 00:00:00 2001 From: Nikita Nafranets Date: Thu, 4 May 2017 18:17:01 +0300 Subject: [PATCH] add makefile :install --- Makefile | 7 +++++++ gulpfile.js | 2 +- package.json | 3 +-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7ab060a --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +install: + rm -rf .git; + yarn; + yarn first:start; + git init; + git add -A; + git commit -m "Initial commit"; \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 8484ebe..71a234e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -132,7 +132,7 @@ gulp.task('mkdirs', done => { title: 'Папки', message: 'Созданы' }); - + done(); }); diff --git a/package.json b/package.json index b426f52..1c1c634 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "gulppack", - "version": "1.4.0", + "version": "1.5.0", "description": "Gulp + Webpack build for frondend", "main": "gulpfile.js", "scripts": { - "postinstall": "npm run first:start", "first:start": "gulp mkdirs", "start": "cross-env NODE_ENV=development gulp", "build": "cross-env NODE_ENV=production gulp build",