Parcourir la source

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 il y a 11 ans
Parent
révision
a03e6930b0
2 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. +0
    -2
      .npmignore
  2. +7
    -0
      package.json

+ 0
- 2
.npmignore Voir le fichier

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


+ 7
- 0
package.json Voir le fichier

@@ -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"
},


Chargement…
Annuler
Enregistrer