| { |
| "_from": "terser", |
| "_id": "terser@3.14.1", |
| "_inBundle": false, |
| "_integrity": "sha512-NSo3E99QDbYSMeJaEk9YW2lTg3qS9V0aKGlb+PlOrei1X02r1wSBHCNX/O+yeTRFSWPKPIGj6MqvvdqV4rnVGw==", |
| "_location": "/terser", |
| "_phantomChildren": {}, |
| "_requested": { |
| "type": "tag", |
| "registry": true, |
| "raw": "terser", |
| "name": "terser", |
| "escapedName": "terser", |
| "rawSpec": "", |
| "saveSpec": null, |
| "fetchSpec": "latest" |
| }, |
| "_requiredBy": [ |
| "#USER", |
| "/" |
| ], |
| "_resolved": "https://registry.npmjs.org/terser/-/terser-3.14.1.tgz", |
| "_shasum": "cc4764014af570bc79c79742358bd46926018a32", |
| "_spec": "terser", |
| "_where": "/usr/local/google/home/azakai/Dev/emscripten/tools", |
| "author": { |
| "name": "Mihai Bazon", |
| "email": "mihai.bazon@gmail.com", |
| "url": "http://lisperator.net/" |
| }, |
| "bin": { |
| "terser": "bin/uglifyjs" |
| }, |
| "bugs": { |
| "url": "https://github.com/fabiosantoscode/terser/issues" |
| }, |
| "bundleDependencies": false, |
| "dependencies": { |
| "commander": "~2.17.1", |
| "source-map": "~0.6.1", |
| "source-map-support": "~0.5.6" |
| }, |
| "deprecated": false, |
| "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+", |
| "devDependencies": { |
| "acorn": "^6.0.4", |
| "coveralls": "^3.0.2", |
| "csv": "^5.0.0", |
| "es6-promise": "^4.2.5", |
| "escodegen": "^1.9.1", |
| "eslint": "^4.19.1", |
| "eslump": "^2.0.0", |
| "istanbul": "^0.4.5", |
| "mocha": "^3.0.0", |
| "mochallel": "^1.8.2", |
| "pre-commit": "^1.2.2", |
| "semver": "~5.5.0" |
| }, |
| "engines": { |
| "node": ">=4.0.0" |
| }, |
| "eslintConfig": { |
| "rules": { |
| "brace-style": [ |
| "error", |
| "1tbs", |
| { |
| "allowSingleLine": true |
| } |
| ], |
| "quotes": [ |
| "error", |
| "double", |
| "avoid-escape" |
| ], |
| "no-debugger": "error", |
| "semi": [ |
| "error", |
| "always" |
| ], |
| "no-extra-semi": "error", |
| "no-irregular-whitespace": "error", |
| "space-before-blocks": [ |
| "error", |
| "always" |
| ] |
| } |
| }, |
| "files": [ |
| "bin", |
| "lib", |
| "dist", |
| "!dist/bundle.instrumented.js", |
| "tools", |
| "LICENSE" |
| ], |
| "homepage": "https://github.com/fabiosantoscode/terser", |
| "keywords": [ |
| "uglify", |
| "terser", |
| "uglify-es", |
| "uglify-js", |
| "minify", |
| "minifier", |
| "javascript", |
| "ecmascript", |
| "es5", |
| "es6", |
| "es7", |
| "es8", |
| "es2015", |
| "es2016", |
| "es2017", |
| "async", |
| "await" |
| ], |
| "license": "BSD-2-Clause", |
| |
| "main": "terser.js", |
| |
| "zmain": "dist/bundle.js", |
| "maintainers": [ |
| { |
| "name": "Fábio Santos", |
| "email": "fabiosantosart@gmail.com" |
| }, |
| { |
| "name": "Alex Lam", |
| "email": "alexlamsl@gmail.com" |
| }, |
| { |
| "name": "Mihai Bazon", |
| "email": "mihai.bazon@gmail.com", |
| "url": "http://lisperator.net/" |
| } |
| ], |
| "name": "terser", |
| "pre-commit": [ |
| "lint-fix", |
| "test" |
| ], |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/fabiosantoscode/terser.git" |
| }, |
| "scripts": { |
| "coverage": "istanbul cover test/run-tests.js", |
| "coveralls": "coveralls < coverage/lcov.info", |
| "lint": "eslint lib", |
| "lint-fix": "eslint --fix lib", |
| "prepare": "cd dist && TERSER_NO_BUNDLE=1 ../bin/uglifyjs ../tools/domprops.js ../lib/utils.js ../lib/ast.js ../lib/parse.js ../lib/transform.js ../lib/scope.js ../lib/output.js ../lib/compress.js ../lib/sourcemap.js ../lib/mozilla-ast.js ../lib/propmangle.js ../lib/minify.js ../tools/exports.js -mc -d \"MOZ_SourceMap=require('source-map')\" --source-map \"includeSources=true,url='bundle.js.map'\" -e \"exports:(typeof module != 'undefined' ? module.exports : Terser = {})\" -b beautify=false,ascii_only --comments /license/ -o ../dist/bundle.js", |
| "test": "rm -f dist/* && npm run prepare && istanbul instrument dist/bundle.js > dist/bundle.instrumented.js && node test/run-tests.js" |
| }, |
| "types": "tools/terser.d.ts", |
| "version": "3.14.1" |
| } |