1 |
3a515b92
|
cagy
|
{
|
2 |
|
|
"name": "terser",
|
3 |
|
|
"description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
|
4 |
|
|
"homepage": "https://terser.org",
|
5 |
|
|
"author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
|
6 |
|
|
"license": "BSD-2-Clause",
|
7 |
|
|
"version": "4.6.10",
|
8 |
|
|
"engines": {
|
9 |
|
|
"node": ">=6.0.0"
|
10 |
|
|
},
|
11 |
|
|
"maintainers": [
|
12 |
|
|
"Fábio Santos <fabiosantosart@gmail.com>"
|
13 |
|
|
],
|
14 |
|
|
"repository": "https://github.com/terser/terser",
|
15 |
|
|
"main": "dist/bundle.min.js",
|
16 |
|
|
"types": "tools/terser.d.ts",
|
17 |
|
|
"bin": {
|
18 |
|
|
"terser": "bin/terser"
|
19 |
|
|
},
|
20 |
|
|
"files": [
|
21 |
|
|
"bin",
|
22 |
|
|
"dist",
|
23 |
|
|
"tools",
|
24 |
|
|
"LICENSE",
|
25 |
|
|
"README.md",
|
26 |
|
|
"CHANGELOG.md",
|
27 |
|
|
"PATRONS.md"
|
28 |
|
|
],
|
29 |
|
|
"dependencies": {
|
30 |
|
|
"commander": "^2.20.0",
|
31 |
|
|
"source-map": "~0.6.1",
|
32 |
|
|
"source-map-support": "~0.5.12"
|
33 |
|
|
},
|
34 |
|
|
"devDependencies": {
|
35 |
|
|
"acorn": "^7.1.1",
|
36 |
|
|
"astring": "^1.4.1",
|
37 |
|
|
"eslint": "^6.3.0",
|
38 |
|
|
"eslump": "^2.0.0",
|
39 |
|
|
"mocha": "^7.1.0",
|
40 |
|
|
"mochallel": "^2.0.0",
|
41 |
|
|
"pre-commit": "^1.2.2",
|
42 |
|
|
"rimraf": "^3.0.0",
|
43 |
|
|
"rollup": "^2.0.6",
|
44 |
|
|
"rollup-plugin-terser": "^5.3.0",
|
45 |
|
|
"semver": "^7.1.3"
|
46 |
|
|
},
|
47 |
|
|
"scripts": {
|
48 |
|
|
"test": "npm run build -- --configTest && node test/run-tests.js",
|
49 |
|
|
"test:compress": "npm run build -- --configTest && node test/compress.js",
|
50 |
|
|
"test:mocha": "npm run build -- --configTest && node test/mocha.js",
|
51 |
|
|
"lint": "eslint lib",
|
52 |
|
|
"lint-fix": "eslint --fix lib",
|
53 |
|
|
"build": "rimraf dist/* && rollup --config --silent",
|
54 |
|
|
"prepare": "npm run build",
|
55 |
|
|
"postversion": "echo 'Remember to update the changelog!'"
|
56 |
|
|
},
|
57 |
|
|
"keywords": [
|
58 |
|
|
"uglify",
|
59 |
|
|
"terser",
|
60 |
|
|
"uglify-es",
|
61 |
|
|
"uglify-js",
|
62 |
|
|
"minify",
|
63 |
|
|
"minifier",
|
64 |
|
|
"javascript",
|
65 |
|
|
"ecmascript",
|
66 |
|
|
"es5",
|
67 |
|
|
"es6",
|
68 |
|
|
"es7",
|
69 |
|
|
"es8",
|
70 |
|
|
"es2015",
|
71 |
|
|
"es2016",
|
72 |
|
|
"es2017",
|
73 |
|
|
"async",
|
74 |
|
|
"await"
|
75 |
|
|
],
|
76 |
|
|
"eslintConfig": {
|
77 |
|
|
"parserOptions": {
|
78 |
|
|
"sourceType": "module"
|
79 |
|
|
},
|
80 |
|
|
"env": {
|
81 |
|
|
"es6": true
|
82 |
|
|
},
|
83 |
|
|
"globals": {
|
84 |
|
|
"describe": false,
|
85 |
|
|
"it": false,
|
86 |
|
|
"require": false,
|
87 |
|
|
"global": false,
|
88 |
|
|
"process": false
|
89 |
|
|
},
|
90 |
|
|
"rules": {
|
91 |
|
|
"brace-style": [
|
92 |
|
|
"error",
|
93 |
|
|
"1tbs",
|
94 |
|
|
{
|
95 |
|
|
"allowSingleLine": true
|
96 |
|
|
}
|
97 |
|
|
],
|
98 |
|
|
"quotes": [
|
99 |
|
|
"error",
|
100 |
|
|
"double",
|
101 |
|
|
"avoid-escape"
|
102 |
|
|
],
|
103 |
|
|
"no-debugger": "error",
|
104 |
|
|
"no-undef": "error",
|
105 |
|
|
"no-unused-vars": [
|
106 |
|
|
"error",
|
107 |
|
|
{
|
108 |
|
|
"varsIgnorePattern": "^_$"
|
109 |
|
|
}
|
110 |
|
|
],
|
111 |
|
|
"no-tabs": "error",
|
112 |
|
|
"semi": [
|
113 |
|
|
"error",
|
114 |
|
|
"always"
|
115 |
|
|
],
|
116 |
|
|
"no-extra-semi": "error",
|
117 |
|
|
"no-irregular-whitespace": "error",
|
118 |
|
|
"space-before-blocks": [
|
119 |
|
|
"error",
|
120 |
|
|
"always"
|
121 |
|
|
]
|
122 |
|
|
}
|
123 |
|
|
},
|
124 |
|
|
"pre-commit": [
|
125 |
|
|
"lint-fix",
|
126 |
|
|
"test"
|
127 |
|
|
]
|
128 |
|
|
}
|