This repository is a template of the npm package.
How to use
- rename this directory from npmPackageTemplate
- run
sh init.sh
- remove README.md and write your own README.md
How to update your package
- commit all changes.
- run
npm version [major | minor | patch]
- run
npm publish
install PostCSS
$ yarn add -D gulp@next gulp-postcss reify
gulpfile.js
import {src, dest} from 'gulp';
import postcss from 'gulp-postcss';
export default () => src('src/css/*.css')
.pipe(postcss([]))
.pipe(dest('dist/css'));
add "build:css": "gulp --require reify"
to scripts in package.json