|
7 | 7 | "author": "Tobias Koppers @sokra", |
8 | 8 | "homepage": "https://github.com/webpack-contrib/compression-webpack-plugin", |
9 | 9 | "bugs": "https://github.com/webpack-contrib/compression-webpack-plugin/issues", |
| 10 | + "funding": { |
| 11 | + "type": "opencollective", |
| 12 | + "url": "https://opencollective.com/webpack" |
| 13 | + }, |
10 | 14 | "main": "dist/cjs.js", |
11 | 15 | "engines": { |
12 | 16 | "node": ">= 8.9.0" |
13 | 17 | }, |
14 | 18 | "scripts": { |
15 | 19 | "start": "npm run build -- -w", |
16 | | - "prebuild": "npm run clean", |
17 | | - "build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files", |
18 | 20 | "clean": "del-cli dist", |
| 21 | + "prebuild": "npm run clean", |
| 22 | + "build": "cross-env NODE_ENV=production babel src -d dist --copy-files", |
19 | 23 | "commitlint": "commitlint --from=master", |
20 | | - "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different", |
21 | | - "lint:js": "eslint --cache src test", |
22 | | - "lint": "npm-run-all -l -p \"lint:**\"", |
23 | | - "prepare": "npm run build", |
24 | | - "release": "standard-version", |
25 | 24 | "security": "npm audit", |
| 25 | + "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different", |
| 26 | + "lint:js": "eslint --cache .", |
| 27 | + "lint": "npm-run-all -l -p \"lint:**\"", |
26 | 28 | "test:only": "cross-env NODE_ENV=test jest", |
27 | | - "test:watch": "cross-env NODE_ENV=test jest --watch", |
28 | | - "test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage", |
| 29 | + "test:watch": "npm run test:only -- --watch", |
| 30 | + "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage", |
29 | 31 | "pretest": "npm run lint", |
30 | | - "test": "cross-env NODE_ENV=test npm run test:coverage", |
| 32 | + "test": "npm run test:coverage", |
| 33 | + "prepare": "npm run build", |
| 34 | + "release": "standard-version", |
31 | 35 | "defaults": "webpack-defaults" |
32 | 36 | }, |
33 | 37 | "files": [ |
34 | 38 | "dist" |
35 | 39 | ], |
36 | 40 | "peerDependencies": { |
37 | | - "webpack": "^4.3.0" |
| 41 | + "webpack": "^4.3.0 || ^5.0.0" |
38 | 42 | }, |
39 | 43 | "dependencies": { |
40 | 44 | "cacache": "^13.0.1", |
|
51 | 55 | "@commitlint/cli": "^8.2.0", |
52 | 56 | "@commitlint/config-conventional": "^8.2.0", |
53 | 57 | "@gfx/zopfli": "^1.0.8", |
54 | | - "@webpack-contrib/defaults": "^5.0.0", |
| 58 | + "@webpack-contrib/defaults": "^6.3.0", |
55 | 59 | "@webpack-contrib/eslint-config-webpack": "^3.0.0", |
56 | 60 | "babel-jest": "^24.9.0", |
57 | 61 | "commitlint-azure-pipelines-cli": "^1.0.2", |
|
66 | 70 | "jest": "^24.9.0", |
67 | 71 | "jest-junit": "^10.0.0", |
68 | 72 | "lint-staged": "^9.5.0", |
69 | | - "memory-fs": "^0.5.0", |
| 73 | + "memfs": "^3.0.3", |
70 | 74 | "npm-run-all": "^4.1.5", |
71 | 75 | "prettier": "^1.19.1", |
72 | 76 | "standard-version": "^7.0.1", |
|
0 commit comments