| 
1 | 1 | {  | 
2 | 2 |   "name": "webpack-remove-empty-scripts",  | 
3 |  | -  "version": "1.0.4",  | 
 | 3 | +  "version": "1.1.0",  | 
4 | 4 |   "description": "Webpack plugin removes empty JavaScript files generated when using styles.",  | 
5 | 5 |   "keywords": [  | 
6 | 6 |     "webpack",  | 
 | 
14 | 14 |     "sass",  | 
15 | 15 |     "css",  | 
16 | 16 |     "js",  | 
17 |  | -    "javascript",  | 
18 |  | -    "mini-css-extract-plugin"  | 
 | 17 | +    "javascript"  | 
19 | 18 |   ],  | 
20 | 19 |   "license": "ISC",  | 
21 | 20 |   "author": "webdiscus (https://github.com/webdiscus)",  | 
 | 
41 | 40 |   "main": "src/index.js",  | 
42 | 41 |   "scripts": {  | 
43 | 42 |     "install:yarn": "yarn install --ignore-engines",  | 
 | 43 | +    "postinstall": "npm run build && npm i webpack-remove-empty-scripts -D",  | 
 | 44 | +    "build": "rollup -c",  | 
44 | 45 |     "test": "jest --detectOpenHandles --config ./test/jest.config.js",  | 
45 | 46 |     "test:coverage": "jest --detectOpenHandles --collectCoverage --config ./test/jest.config.js",  | 
46 |  | -    "publish:public": "npm publish --access public",  | 
47 |  | -    "publish:beta": "npm publish --tag beta"  | 
 | 47 | +    "publish:public": "(npm run build) && npm publish ./dist --access public",  | 
 | 48 | +    "publish:beta": "(npm run build) && npm publish ./dist --tag beta"  | 
48 | 49 |   },  | 
49 | 50 |   "files": [  | 
50 | 51 |     "src",  | 
51 |  | -    "CHANGELOG.md",  | 
52 | 52 |     "README.md",  | 
53 | 53 |     "LICENSE"  | 
54 | 54 |   ],  | 
 | 
59 | 59 |     "webpack": ">=5.32.0"  | 
60 | 60 |   },  | 
61 | 61 |   "dependencies": {  | 
62 |  | -    "ansis": "1.5.2"  | 
 | 62 | +    "ansis": "4.0.0-node10"  | 
63 | 63 |   },  | 
64 | 64 |   "devDependencies": {  | 
65 |  | -    "@babel/core": "^7.23.7",  | 
66 |  | -    "@babel/preset-env": "^7.23.8",  | 
 | 65 | +    "@babel/core": "^7.27.1",  | 
 | 66 | +    "@babel/preset-env": "^7.27.2",  | 
 | 67 | +    "@rollup/plugin-commonjs": "^28.0.3",  | 
 | 68 | +    "@rollup/plugin-node-resolve": "^16.0.1",  | 
 | 69 | +    "@rollup/plugin-terser": "^0.4.4",  | 
67 | 70 |     "@test-fixtures/lorem": "0.0.2",  | 
68 |  | -    "@types/jest": "^29.5.11",  | 
69 |  | -    "@wordpress/scripts": "^27.0.0",  | 
70 |  | -    "@wordpress/dependency-extraction-webpack-plugin": "^5.0.0",  | 
71 |  | -    "css-loader": "^6.9.0",  | 
72 |  | -    "html-bundler-webpack-plugin": "^3.4.10",  | 
73 |  | -    "html-loader": "^5.0.0",  | 
 | 71 | +    "@types/jest": "^29.5.14",  | 
 | 72 | +    "@wordpress/scripts": "^30.17.0",  | 
 | 73 | +    "@wordpress/dependency-extraction-webpack-plugin": "^6.24.0",  | 
 | 74 | +    "css-loader": "^7.1.2",  | 
 | 75 | +    "html-loader": "^5.1.0",  | 
74 | 76 |     "jest": "^29.7.0",  | 
75 |  | -    "mini-css-extract-plugin": "^2.7.7",  | 
76 |  | -    "terser-webpack-plugin": "^5.3.10",  | 
77 |  | -    "webpack": "^5.89.0",  | 
78 |  | -    "webpack-hot-middleware": "^2.26.0",  | 
79 |  | -    "webpack-manifest-plugin": "^5.0.0",  | 
80 |  | -    "webpack-merge": "^5.10.0"  | 
 | 77 | +    "mini-css-extract-plugin": "^2.9.2",  | 
 | 78 | +    "rollup": "^4.41.1",  | 
 | 79 | +    "rollup-plugin-copy": "^3.5.0",  | 
 | 80 | +    "terser-webpack-plugin": "^5.3.14",  | 
 | 81 | +    "webpack": "^5.99.9",  | 
 | 82 | +    "webpack-hot-middleware": "^2.26.1",  | 
 | 83 | +    "webpack-manifest-plugin": "^5.0.1",  | 
 | 84 | +    "webpack-merge": "^6.0.1",  | 
 | 85 | +    "webpack-remove-empty-scripts": "file:dist"  | 
 | 86 | +  },  | 
 | 87 | +  "overrides": {  | 
 | 88 | +    "rollup-plugin-copy": {  | 
 | 89 | +      "globby": "^11.0.0"  | 
 | 90 | +    }  | 
81 | 91 |   }  | 
82 | 92 | }  | 
0 commit comments