Kaynağa Gözat

Specifying files in package.json

Good npm citizens should specify which files a npm module consists of
so module users dont have to download all the unnecessary things.
tags/v1.2.0
Phillip Johnsen 11 yıl önce
ebeveyn
işleme
a03e6930b0
2 değiştirilmiş dosya ile 7 ekleme ve 2 silme
  1. +0
    -2
      .npmignore
  2. +7
    -0
      package.json

+ 0
- 2
.npmignore Dosyayı Görüntüle

@@ -1,2 +0,0 @@
test


+ 7
- 0
package.json Dosyayı Görüntüle

@@ -17,6 +17,13 @@
"bin": {
"mustache": "./bin/mustache"
},
"files": [
"mustache.js",
"mustache.min.js",
"bin",
"wrappers",
"LICENSE"
],
"volo": {
"url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js"
},


Yükleniyor…
İptal
Kaydet