[Pkg-javascript-commits] [uglifyjs] 02/11: Normalize package.json.

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v2.4.21
in repository uglifyjs.

commit efea52a4f495ec921cb05d4ce09693520b657257
Author: XhmikosR <xhmikosr at gmail.com>
Date:   Tue Apr 14 18:29:14 2015 +0300

    Normalize package.json.
    
    * Specify the files to install in package.json
    * Add missing properties
    * Follow `npm init`'s scheme
---
 .gitignore   |  3 ++-
 .npmignore   |  2 --
 package.json | 80 +++++++++++++++++++++++++++++++++++-------------------------
 3 files changed, 49 insertions(+), 36 deletions(-)

diff --git a/.gitignore b/.gitignore
index 94fceeb..6000c6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+/node_modules/
+/npm-debug.log
 tmp/
-node_modules/
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index efab07f..0000000
--- a/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-test
-.travis.yml
diff --git a/package.json b/package.json
index aaa4359..64e37c4 100644
--- a/package.json
+++ b/package.json
@@ -1,37 +1,51 @@
 {
   "name": "uglify-js",
   "description": "JavaScript parser, mangler/compressor and beautifier toolkit",
-    "homepage": "http://lisperator.net/uglifyjs",
-    "main": "tools/node.js",
-    "version": "2.4.20",
-    "engines": { "node" : ">=0.4.0" },
-    "maintainers": [{
-        "name": "Mihai Bazon",
-        "email": "mihai.bazon at gmail.com",
-        "web": "http://lisperator.net/"
-    }],
-    "repository": {
-        "type": "git",
-        "url": "https://github.com/mishoo/UglifyJS2.git"
-    },
-    "dependencies": {
-        "async"      : "~0.2.6",
-        "source-map" : "0.1.34",
-        "yargs": "~3.5.4",
-        "uglify-to-browserify": "~1.0.0"
-    },
-    "devDependencies": {
-        "acorn": "~0.6.0",
-        "escodegen": "~1.3.3",
-        "esfuzz": "~0.3.1",
-        "estraverse": "~1.5.1"
-    },
-    "browserify": {
-        "transform": [ "uglify-to-browserify" ]
-    },
-    "bin": {
-        "uglifyjs" : "bin/uglifyjs"
-    },
-    "license": "BSD",
-    "scripts": {"test": "node test/run-tests.js"}
+  "homepage": "http://lisperator.net/uglifyjs",
+  "author": "Mihai Bazon <mihai.bazon at gmail.com> (http://lisperator.net/)",
+  "license": "BSD",
+  "version": "2.4.20",
+  "engines": {
+    "node": ">=0.4.0"
+  },
+  "maintainers": [
+    "Mihai Bazon <mihai.bazon at gmail.com> (http://lisperator.net/)"
+  ],
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/mishoo/UglifyJS2.git"
+  },
+  "bugs": {
+    "url": "https://github.com/mishoo/UglifyJS2/issues"
+  },
+  "main": "tools/node.js",
+  "bin": {
+    "uglifyjs": "bin/uglifyjs"
+  },
+  "files": [
+    "bin",
+    "lib",
+    "tools",
+    "LICENSE"
+  ],
+  "dependencies": {
+    "async": "~0.2.6",
+    "source-map": "0.1.34",
+    "uglify-to-browserify": "~1.0.0",
+    "yargs": "~3.5.4"
+  },
+  "devDependencies": {
+    "acorn": "~0.6.0",
+    "escodegen": "~1.3.3",
+    "esfuzz": "~0.3.1",
+    "estraverse": "~1.5.1"
+  },
+  "browserify": {
+    "transform": [
+      "uglify-to-browserify"
+    ]
+  },
+  "scripts": {
+    "test": "node test/run-tests.js"
+  }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list