diff --git a/README.md b/README.md index bb18ddd..dcc5d38 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Installation ```sh -npm install mbp gulp -g +npm install mbp -g ``` ## Usage @@ -16,8 +16,8 @@ npm install mbp gulp -g # init your project mbp init locomotivemtl/locomotive-boilerplate -# run default watch task -gulp +# and start it +npm start ``` ## Configuration @@ -31,13 +31,13 @@ Change the mentions of `boilerplate` for your project's name in `mconfig.json`. #### Tasks ```sh # watch -gulp +npm start # compile -gulp compile +npm run compile # minify -gulp build +npm run build ``` [Learn more](https://github.com/modularorg/modularbp-gulp) diff --git a/package.json b/package.json index 2d75318..edd0464 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,22 @@ { - "private": true, - "name": "@locomotivemtl/boilerplate", - "title": "Locomotive Boilerplate", - "version": "1.0.0", - "author": "Locomotive ", - "dependencies": { - "locomotive-scroll": "*", - "modujs": "*", - "modularload": "*", - "normalize.css": "*", - "svg4everybody": "*" - }, - "devDependencies": { - "gulp-concat": "*" - } + "private": true, + "name": "@locomotivemtl/boilerplate", + "title": "Locomotive Boilerplate", + "version": "1.0.0", + "author": "Locomotive ", + "scripts": { + "start": "gulp", + "build": "gulp build", + "compile": "gulp compile" + }, + "dependencies": { + "locomotive-scroll": "*", + "modujs": "*", + "modularload": "*", + "normalize.css": "*", + "svg4everybody": "*" + }, + "devDependencies": { + "gulp-concat": "*" + } }