Skip to content

Commit

Permalink
Add .npmignore file to optimize package size
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jun 12, 2019
1 parent 0ce8cac commit 1ae06dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.circleci
.idea
.editorconfig
.gitattributes
CHANGELOG.md
test/
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# stylelint-config-ma

![CircleCi](https://circleci.com/gh/massiveart/stylelint-config-ma/tree/master.png)
[![CircleCi](https://circleci.com/gh/massiveart/stylelint-config-ma.png?style=shield)](https://circleci.com/gh/massiveart/stylelint-config-ma)
[![npm](https://img.shields.io/npm/v/stylelint-config-ma.svg)](https://www.npmjs.com/package/stylelint-config-ma)
[![Size](https://img.shields.io/github/size/massiveart/stylelint-config-ma/index.js.svg)](https://github.com/massiveart/stylelint-config-ma/blob/master/index.js)
[![Install Size](https://packagephobia.now.sh/badge?p=stylelint-config-ma)](https://packagephobia.now.sh/result?p=stylelint-config-ma)

Stylelint shareable config used by MASSIVE ART.

Expand Down Expand Up @@ -52,6 +55,8 @@ Copy the text of the last release into and get new release.
```
git fetch --tags
git checkout <version>
rm CHANGELOG.md # else it will be published with it
npm pack --dry-run # check that no unnecessary files are packed
npm publish
```

0 comments on commit 1ae06dc

Please sign in to comment.