You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.8 KiB
87 lines
2.8 KiB
{
|
|
"name": "compression-webpack-plugin",
|
|
"version": "12.0.0",
|
|
"description": "Prepare compressed versions of assets to serve them with Content-Encoding",
|
|
"keywords": [
|
|
"webpack"
|
|
],
|
|
"homepage": "https://github.com/webpack/compression-webpack-plugin",
|
|
"bugs": "https://github.com/webpack/compression-webpack-plugin/issues",
|
|
"repository": "webpack/compression-webpack-plugin",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/webpack"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Tobias Koppers @sokra",
|
|
"main": "dist/index.js",
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"start": "npm run build -- -w",
|
|
"clean": "del-cli dist types",
|
|
"prebuild": "npm run clean",
|
|
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
|
|
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
|
|
"build": "npm-run-all -p \"build:**\"",
|
|
"commitlint": "commitlint --from=main",
|
|
"security": "npm audit --production",
|
|
"lint:prettier": "prettier --cache --list-different .",
|
|
"lint:code": "eslint --cache .",
|
|
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
|
|
"lint:types": "tsc --pretty --noEmit",
|
|
"lint": "npm-run-all -l -p \"lint:**\"",
|
|
"fix:code": "npm run lint:code -- --fix",
|
|
"fix:prettier": "npm run lint:prettier -- --write",
|
|
"fix": "npm-run-all -l fix:code fix:prettier",
|
|
"test:only": "cross-env NODE_ENV=test jest",
|
|
"test:watch": "npm run test:only -- --watch",
|
|
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run test:coverage",
|
|
"prepare": "husky && npm run build",
|
|
"release": "standard-version"
|
|
},
|
|
"dependencies": {
|
|
"schema-utils": "^4.2.0",
|
|
"serialize-javascript": "^7.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.24.8",
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@commitlint/cli": "^20.4.2",
|
|
"@commitlint/config-conventional": "^20.4.2",
|
|
"@gfx/zopfli": "^1.0.15",
|
|
"@types/node": "^20.14.9",
|
|
"@types/serialize-javascript": "^5.0.4",
|
|
"babel-jest": "^30.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"cspell": "^9.7.0",
|
|
"del": "^7.1.0",
|
|
"del-cli": "^7.0.0",
|
|
"eslint": "^9.30.1",
|
|
"eslint-config-webpack": "^4.3.2",
|
|
"file-loader": "^6.2.0",
|
|
"husky": "^9.1.4",
|
|
"jest": "^30.0.0",
|
|
"lint-staged": "^16.3.1",
|
|
"memfs": "^4.11.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.3.3",
|
|
"standard-version": "^9.5.0",
|
|
"typescript": "^5.5.4",
|
|
"webpack": "^5.93.0",
|
|
"webpack-stats-plugin": "^1.1.3",
|
|
"workbox-webpack-plugin": "^7.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"webpack": "^5.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.9.0"
|
|
}
|
|
}
|
|
|