123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- {
- "name": "terser-webpack-plugin",
- "version": "1.2.3",
- "description": "Terser plugin for webpack",
- "license": "MIT",
- "repository": "webpack-contrib/terser-webpack-plugin",
- "author": "webpack Contrib Team",
- "homepage": "https://github.com/webpack-contrib/terser-webpack-plugin",
- "bugs": "https://github.com/webpack-contrib/terser-webpack-plugin/issues",
- "main": "dist/cjs.js",
- "engines": {
- "node": ">= 6.9.0"
- },
- "scripts": {
- "start": "npm run build -- -w",
- "prebuild": "npm run clean",
- "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
- "clean": "del-cli dist",
- "commitlint": "commitlint",
- "commitmsg": "commitlint -e $GIT_PARAMS",
- "lint": "eslint --cache src test",
- "prepublish": "npm run build",
- "release": "standard-version",
- "security": "npm audit",
- "test:only": "jest",
- "test:watch": "jest --watch",
- "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
- "pretest": "npm run lint",
- "test": "npm run test:only",
- "ci:lint": "npm run lint && npm run security",
- "ci:test": "npm run test:only -- --runInBand",
- "ci:coverage": "npm run test:coverage -- --runInBand",
- "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
- "defaults": "webpack-defaults"
- },
- "files": [
- "dist"
- ],
- "peerDependencies": {
- "webpack": "^4.0.0"
- },
- "dependencies": {
- "cacache": "^11.0.2",
- "find-cache-dir": "^2.0.0",
- "schema-utils": "^1.0.0",
- "serialize-javascript": "^1.4.0",
- "source-map": "^0.6.1",
- "terser": "^3.16.1",
- "webpack-sources": "^1.1.0",
- "worker-farm": "^1.5.2"
- },
- "devDependencies": {
- "@babel/cli": "^7.1.5",
- "@babel/core": "^7.1.6",
- "@babel/polyfill": "^7.0.0",
- "@babel/preset-env": "^7.1.6",
- "@commitlint/cli": "^7.0.0",
- "@commitlint/config-conventional": "^7.0.1",
- "@webpack-contrib/defaults": "^3.0.0",
- "@webpack-contrib/eslint-config-webpack": "^3.0.0",
- "babel-jest": "^24.0.0",
- "cross-env": "^5.1.3",
- "del": "^3.0.0",
- "del-cli": "^1.1.0",
- "eslint": "^5.5.0",
- "eslint-config-webpack": "^1.2.5",
- "eslint-plugin-import": "^2.8.0",
- "eslint-plugin-prettier": "^3.0.0",
- "husky": "^1.2.1",
- "jest": "^24.0.0",
- "lint-staged": "^8.1.0",
- "memory-fs": "^0.4.1",
- "prettier": "^1.14.0",
- "standard-version": "^5.0.0",
- "uglify-js": "^3.4.3",
- "webpack": "^4.16.3"
- },
- "keywords": [
- "uglify",
- "uglify-js",
- "uglify-es",
- "terser",
- "webpack",
- "webpack-plugin",
- "minification",
- "compress",
- "compressor",
- "min",
- "minification",
- "minifier",
- "minify",
- "optimize",
- "optimizer"
- ],
- "babel": {
- "presets": [
- [
- "@babel/preset-env",
- {
- "targets": {
- "node": "6.9.0"
- },
- "useBuiltIns": "usage"
- }
- ]
- ]
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "*.js": [
- "eslint --fix",
- "git add"
- ]
- },
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ]
- },
- "prettier": {
- "singleQuote": true,
- "trailingComma": "es5",
- "arrowParens": "always"
- }
- }
|