/
package.json
105 lines (105 loc) · 2.76 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
{
"name": "tsterser",
"description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
"homepage": "https://github.com/banyudu/tsterser",
"author": "Yudu Ban <banyudu@gmail.com>",
"license": "BSD-2-Clause",
"version": "5.0.10",
"engines": {
"node": ">=6.0.0"
},
"maintainers": [],
"repository": "https://github.com/banyudu/tsterser",
"main": "dist/bundle.min.js",
"module": "main.js",
"exports": {
"import": "./main.js",
"require": "./dist/bundle.min.js"
},
"types": "tools/terser.d.ts",
"bin": {
"terser": "bin/terser",
"tsterser": "bin/terser"
},
"files": [
"bin",
"dist",
"lib",
"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": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@types/node": "^14.0.1",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^2.34.0",
"acorn": "^7.1.1",
"astring": "^1.4.1",
"eslint": "^7.6.0",
"eslint-config-standard-with-typescript": "^18.0.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslump": "^2.0.0",
"husky": "^4.2.5",
"mocha": "^5.2.0",
"mochallel": "^2.0.0",
"rimraf": "^3.0.0",
"rollup": "2.0.6",
"rollup-plugin-terser": "5.3.0",
"rollup-plugin-typescript2": "^0.27.1",
"semver": "^7.1.3",
"tslib": "^2.0.0",
"typescript": "^3.9.7"
},
"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 . --cache",
"lint:quiet": "npm run lint -- --quiet",
"lint:fix": "npm run lint -- --quiet --fix",
"lint:fixOne": "eslint --ext .js,.jsx,.ts,.tsx --quiet --fix",
"lint:git": "git diff --cached --name-only --diff-filter=ACM | grep '\\.[tj]sx\\?$' |xargs eslint --quiet",
"build": "rimraf dist/* && rollup --config --silent",
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"postversion": "git push --follow-tags"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:git",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"uglify",
"terser",
"uglify-es",
"uglify-js",
"minify",
"minifier",
"javascript",
"typescript",
"ecmascript",
"es5",
"es6",
"es7",
"es8",
"es2015",
"es2016",
"es2017",
"async",
"await"
]
}