123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- {
- "name": "terser",
- "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
- "homepage": "https://terser.org",
- "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
- "license": "BSD-2-Clause",
- "version": "4.8.0",
- "engines": {
- "node": ">=6.0.0"
- },
- "maintainers": [
- "Fábio Santos <fabiosantosart@gmail.com>"
- ],
- "repository": "https://github.com/terser/terser",
- "main": "dist/bundle.min.js",
- "types": "tools/terser.d.ts",
- "bin": {
- "terser": "bin/terser"
- },
- "files": [
- "bin",
- "dist",
- "tools",
- "LICENSE",
- "README.md",
- "CHANGELOG.md",
- "PATRONS.md"
- ],
- "dependencies": {
- "commander": "^2.20.0",
- "source-map": "~0.6.1",
- "source-map-support": "~0.5.12"
- },
- "devDependencies": {
- "acorn": "^7.1.1",
- "astring": "^1.4.1",
- "eslint": "^6.3.0",
- "eslump": "^2.0.0",
- "mocha": "^7.1.2",
- "mochallel": "^2.0.0",
- "pre-commit": "^1.2.2",
- "rimraf": "^3.0.0",
- "rollup": "2.0.6",
- "rollup-plugin-terser": "5.3.0",
- "semver": "^7.1.3"
- },
- "scripts": {
- "test": "npm run build -- --configTest && node test/run-tests.js",
- "test:compress": "npm run build -- --configTest && node test/compress.js",
- "test:mocha": "npm run build -- --configTest && node test/mocha.js",
- "lint": "eslint lib",
- "lint-fix": "eslint --fix lib",
- "build": "rimraf dist/* && rollup --config --silent",
- "prepare": "npm run build",
- "postversion": "echo 'Remember to update the changelog!'"
- },
- "keywords": [
- "uglify",
- "terser",
- "uglify-es",
- "uglify-js",
- "minify",
- "minifier",
- "javascript",
- "ecmascript",
- "es5",
- "es6",
- "es7",
- "es8",
- "es2015",
- "es2016",
- "es2017",
- "async",
- "await"
- ],
- "eslintConfig": {
- "parserOptions": {
- "sourceType": "module"
- },
- "env": {
- "es6": true
- },
- "globals": {
- "describe": false,
- "it": false,
- "require": false,
- "global": false,
- "process": false
- },
- "rules": {
- "brace-style": [
- "error",
- "1tbs",
- {
- "allowSingleLine": true
- }
- ],
- "quotes": [
- "error",
- "double",
- "avoid-escape"
- ],
- "no-debugger": "error",
- "no-undef": "error",
- "no-unused-vars": [
- "error",
- {
- "varsIgnorePattern": "^_$"
- }
- ],
- "no-tabs": "error",
- "semi": [
- "error",
- "always"
- ],
- "no-extra-semi": "error",
- "no-irregular-whitespace": "error",
- "space-before-blocks": [
- "error",
- "always"
- ]
- }
- },
- "pre-commit": [
- "lint-fix",
- "test"
- ]
- }
|