瀏覽代碼

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 年之前
父節點
當前提交
a03e6930b0
共有 2 個檔案被更改,包括 7 行新增2 行删除
  1. +0
    -2
      .npmignore
  2. +7
    -0
      package.json

+ 0
- 2
.npmignore 查看文件

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


+ 7
- 0
package.json 查看文件

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


Loading…
取消
儲存