Skip to content

Commit

Permalink
Merge pull request #26 from torounit/add-npm-scripts
Browse files Browse the repository at this point in the history
build on npm install
  • Loading branch information
inc2734 committed Jan 31, 2016
2 parents 92bdf55 + 4c1e53a commit d609d57
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ $ gulp build
### or

1. ```$ npm install sass-basis```
2. Build basis
```shell
$ cd /PATH/TO/basis
$ gulp build
```
3. Just this link.
2. Just this link.
```html
<link rel="stylesheet" href="/PATH/TO/node_modules/basis/assets/dist/css/style.min.css" />
```
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
var gulp = require( 'gulp' );
var sass = require( 'gulp-sass' );
var cssmin = require( 'gulp-minify-css' );
var cssmin = require( 'gulp-cssnano' );
var rename = require( 'gulp-rename' );
var browser_sync = require( 'browser-sync' );
var postcss = require( 'gulp-postcss' );
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,29 @@
"name": "sass-basis",
"version": "2.0.0",
"author": "inc2734",
"contributors": ["Toro_Unit"],
"contributors": [
"Toro_Unit"
],
"license": "GPL-2.0+",
"homepage": "http://inc2734.github.io/basis/",
"repository": {
"type": "git",
"url": "https://github.com/inc2734/basis"
},
"devDependencies": {
"dependencies": {
"autoprefixer": "^6.3.1",
"browser-sync": "^2.9.10",
"browser-sync": "^2.11.1",
"gulp": "^3.9.0",
"gulp-minify-css": "^1.2.1",
"gulp-cssnano": "^2.1.0",
"gulp-postcss": "^6.0.1",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.4",
"postcss-import": "^7.1.3"
"gulp-sass": "^2.1.1",
"normalize.css": "^3.0.3",
"postcss-import": "^8.0.2"
},
"scripts": {
"build": "gulp build",
"release": "gulp release"
},
"dependencies": {
"normalize.css": "^3.0.3"
"release": "gulp release",
"postinstall": "gulp build"
}
}

0 comments on commit d609d57

Please sign in to comment.