forked from terser/terser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "terser",
"description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
"homepage": "https://github.com/fabiosantoscode/terser",
"author": "Mihai Bazon <[email protected]> (http://lisperator.net/)",
"license": "BSD-2-Clause",
"version": "3.14.1",
"engines": {
"node": ">=4.0.0"
},
"maintainers": [
"Fábio Santos <[email protected]>",
"Alex Lam <[email protected]>",
"Mihai Bazon <[email protected]> (http://lisperator.net/)"
],
"repository": "https://github.com/fabiosantoscode/terser.git",
"main": "dist/bundle.js",
"types": "tools/terser.d.ts",
"bin": {
"terser": "bin/uglifyjs"
},
"files": [
"bin",
"lib",
"dist",
"!dist/bundle.instrumented.js",
"tools",
"LICENSE"
],
"dependencies": {
"commander": "~2.17.1",
"source-map": "~0.6.1",
"source-map-support": "~0.5.9"
},
"devDependencies": {
"acorn": "^6.0.4",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"csv": "^5.1.0",
"es6-promise": "^4.2.5",
"escodegen": "^1.11.0",
"eslint": "^4.19.1",
"eslump": "^2.0.0",
"istanbul": "^0.4.5",
"mocha": "^3.0.0",
"mochallel": "^1.8.6",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.2",
"semver": "~5.5.1"
},
"scripts": {
"test": "rimraf dist/* && npm run prepare && istanbul instrument dist/bundle.js > dist/bundle.instrumented.js && node test/run-tests.js",
"coverage": "istanbul cover test/run-tests.js",
"coveralls": "coveralls < coverage/lcov.info",
"lint": "eslint lib",
"lint-fix": "eslint --fix lib",
"prepare": "cd dist && cross-env 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"
},
"keywords": [
"uglify",
"terser",
"uglify-es",
"uglify-js",
"minify",
"minifier",
"javascript",
"ecmascript",
"es5",
"es6",
"es7",
"es8",
"es2015",
"es2016",
"es2017",
"async",
"await"
],
"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"
]
}
},
"pre-commit": [
"lint-fix",
"test"
]
}