UNPKG

webpack-visualizer-plugin2

Version:
82 lines (81 loc) 2.93 kB
{ "name": "webpack-visualizer-plugin2", "description": "Generate webpack bundle chart", "version": "2.0.0", "main": "lib/plugin.js", "author": "Chris Bateman (http://cbateman.com/)", "contributors": [ { "name": "Jonathan Mataloni", "url": "https://github.com/jonamat", "email": "jo.mataloni@gmail.com" }, { "name": "agnoStack Dev <developers@agnostack.com> (https://agnostack.com)", "url": "https://github.com/agnostack", "email": "developers@agnostack.com" } ], "keywords": [ "webpack", "statistics", "bundle", "chunks" ], "license": "MIT", "files": [ "lib", "README.md" ], "repository": { "type": "git", "url": "https://github.com/jonamat/webpack-visualizer" }, "scripts": { "build": "npm run build:site && npm run build:plugin", "build:plugin": "shx rm -rf ./lib/** && webpack --config ./webpack/plugin/webpack.prod.js && babel ./src/plugin/plugin.js --out-file lib/plugin.js --presets=@babel/preset-env", "build:site": "webpack --config ./webpack/site/webpack.prod.js", "build:stats": "webpack --config ./webpack/plugin/webpack.prod.js --json > demo_stats/stats-demo.json", "start:plugin": "webpack serve --config ./webpack/plugin/webpack.dev.js", "start:site": "webpack serve --config ./webpack/site/webpack.dev.js", "lint": "eslint src --ext .js,.jsx", "lint:fix": "eslint src --fix --ext .js,.jsx", "preversion": "npm run build", "publishSite": "git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master" }, "dependencies": { "d3": "^3.5.6", "mkdirp": "^0.5.1", "prop-types": "^15.7.2", "react": "^18.0.0", "react-dom": "^18.0.0" }, "devDependencies": { "@babel/cli": "^7.12.8", "@babel/core": "^7.12.9", "@babel/eslint-parser": "^7.12.1", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/preset-env": "^7.12.7", "@babel/preset-react": "^7.12.7", "babel-loader": "^8.2.2", "clean-webpack-plugin": "^3.0.0", "css-loader": "^5.0.1", "eslint": "^7.14.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.5", "eslint-webpack-plugin": "^2.4.0", "html-webpack-plugin": "^4.5.0", "mini-css-extract-plugin": "^1.3.1", "prettier": "^2.2.1", "shx": "^0.3.3", "style-loader": "^2.0.0", "webpack": "^5.9.0", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0", "webpack-merge": "^5.4.0" }, "engines": { "npm": ">=5.0.0" } }