Normalize package.json.
* Specify the files to install in package.json * Add missing properties * Follow `npm init`'s scheme
This commit is contained in:
committed by
Richard van Velzen
parent
763bd36b60
commit
efea52a4f4
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
|
/node_modules/
|
||||||
|
/npm-debug.log
|
||||||
tmp/
|
tmp/
|
||||||
node_modules/
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
test
|
|
||||||
.travis.yml
|
|
||||||
44
package.json
44
package.json
@@ -2,23 +2,37 @@
|
|||||||
"name": "uglify-js",
|
"name": "uglify-js",
|
||||||
"description": "JavaScript parser, mangler/compressor and beautifier toolkit",
|
"description": "JavaScript parser, mangler/compressor and beautifier toolkit",
|
||||||
"homepage": "http://lisperator.net/uglifyjs",
|
"homepage": "http://lisperator.net/uglifyjs",
|
||||||
"main": "tools/node.js",
|
"author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
|
||||||
|
"license": "BSD",
|
||||||
"version": "2.4.20",
|
"version": "2.4.20",
|
||||||
"engines": { "node" : ">=0.4.0" },
|
"engines": {
|
||||||
"maintainers": [{
|
"node": ">=0.4.0"
|
||||||
"name": "Mihai Bazon",
|
},
|
||||||
"email": "mihai.bazon@gmail.com",
|
"maintainers": [
|
||||||
"web": "http://lisperator.net/"
|
"Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)"
|
||||||
}],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/mishoo/UglifyJS2.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": {
|
"dependencies": {
|
||||||
"async": "~0.2.6",
|
"async": "~0.2.6",
|
||||||
"source-map": "0.1.34",
|
"source-map": "0.1.34",
|
||||||
"yargs": "~3.5.4",
|
"uglify-to-browserify": "~1.0.0",
|
||||||
"uglify-to-browserify": "~1.0.0"
|
"yargs": "~3.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"acorn": "~0.6.0",
|
"acorn": "~0.6.0",
|
||||||
@@ -27,11 +41,11 @@
|
|||||||
"estraverse": "~1.5.1"
|
"estraverse": "~1.5.1"
|
||||||
},
|
},
|
||||||
"browserify": {
|
"browserify": {
|
||||||
"transform": [ "uglify-to-browserify" ]
|
"transform": [
|
||||||
|
"uglify-to-browserify"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"bin": {
|
"scripts": {
|
||||||
"uglifyjs" : "bin/uglifyjs"
|
"test": "node test/run-tests.js"
|
||||||
},
|
}
|
||||||
"license": "BSD",
|
|
||||||
"scripts": {"test": "node test/run-tests.js"}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user