UNPKG

@anansi/webpack-config

Version:
175 lines 4.65 kB
{ "name": "@anansi/webpack-config", "version": "21.0.10", "description": "Production ready webpack for React", "main": "lib/index.js", "types": "./index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "test:ci": "echo \"Error: no test specified\"", "build:lib": "BROWSERSLIST_ENV=node18 yarn g:babel --out-dir lib", "build": "run build:lib", "dev": "run build:lib -w", "build:clean": "yarn g:rimraf lib", "prepare": "run build:clean && run build", "prepack": "run prepare" }, "files": [ "lib", "index.d.ts", "media.d.ts", "types.d.ts", "package.json" ], "keywords": [ "webpack", "webpack-config", "react", "fast-refresh", "react-refresh", "typescript", "scss", "css modules", "sass", "linaria", "wyw-in-js", "svg", "storybook", "web-workers", "wasm", "css in js", "tree shaking", "babel", "jsx", "ssr" ], "author": "Nathaniel Tucker", "license": "BSD-3-Clause", "homepage": "https://github.com/ntucker/anansi/tree/master/packages/webpack-config-anansi#readme", "repository": { "type": "git", "url": "git+ssh://git@github.com:ntucker/anansi.git", "directory": "packages/webpack-config-anansi" }, "engines": { "node": "^18.20.0 || ^20.10.0 || >=22.0.0" }, "devDependencies": { "@types/node": "^24.0.0", "sass-embedded": "^1.77.8" }, "dependencies": { "@babel/runtime-corejs3": "^7.26.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", "@svgr/webpack": "^8.1.0", "@types/sass-loader": "^8.0.9", "@types/webpack-bundle-analyzer": "^4.7.0", "@vue/preload-webpack-plugin": "^2.0.0", "@wyw-in-js/webpack-loader": "^0.7.0", "assert": "^2.1.0", "autoprefixer": "^10.4.21", "babel-loader": "^10.0.0", "browserify-zlib": "^0.2.0", "buffer": "^6.0.3", "circular-dependency-plugin": "^5.2.2", "clean-webpack-plugin": "^4.0.0", "console-browserify": "^1.2.0", "constants-browserify": "^1.0.0", "core-js-pure": "^3.40.0", "crypto-browserify": "^3.12.1", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.2", "domain-browser": "^5.7.0", "duplicate-package-checker-webpack-plugin": "^3.0.0", "events": "^3.3.0", "file-loader": "^6.2.0", "html-loader": "^5.1.0", "html-webpack-plugin": "^5.6.3", "https-browserify": "^1.0.0", "is-wsl": "^2.2.0", "mini-css-extract-plugin": "^2.9.2", "mkdirp": "^3.0.1", "os-browserify": "^0.3.0", "path": "^0.12.7", "path-browserify": "^1.0.1", "postcss": "^8.5.6", "postcss-loader": "^8.1.1", "postcss-preset-env": "^10.2.3", "process": "^0.11.10", "querystring-es3": "^0.2.1", "ramda": "^0.31.3", "react-dev-utils": "^12.0.1", "react-error-overlay": "6.0.9", "readable-stream": "^4.7.0", "sass-loader": "^16.0.5", "sass-resources-loader": "^2.2.5", "semver": "^7.7.2", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "string_decoder": "^1.3.0", "strip-ansi": "^6.0.1", "svgo": "^3.3.1", "svgo-loader": "^4.0.0", "terser-webpack-plugin": "^5.3.14", "timers-browserify": "^2.0.12", "tsconfig-paths-webpack-plugin": "^4.2.0", "tty-browserify": "^0.0.1", "url": "^0.11.4", "util": "^0.12.5", "vm-browserify": "^1.1.2", "webpack-bundle-analyzer": "^4.10.2", "webpack-node-externals": "^3.0.0", "webpack-remove-empty-scripts": "^1.1.1", "webpack-stats-plugin": "^1.1.3", "worker-loader": "^3.0.8" }, "peerDependencies": { "@babel/core": "^6 || ^7 || ^8", "@hot-loader/react-dom": "^16.0.0 || ^17.0.0", "@storybook/react": "^6.2.0 || ^7.0.0 || ^8.0.0", "@types/react": "*", "react": "*", "react-refresh": "*", "sass": "^1.3.0", "sass-embedded": "^1.70.0", "svgo": "^3.0.0", "webpack": "^5.61.0", "webpack-cli": "^4.1.0 || ^5.0.0 || ^6.0.0", "webpack-dev-server": "^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": { "@babel/core": { "optional": true }, "@hot-loader/react-dom": { "optional": true }, "@storybook/react": { "optional": true }, "@types/react": { "optional": true }, "react": { "optional": true }, "react-refresh": { "optional": true }, "sass": { "optional": true }, "sass-embedded": { "optional": true }, "svgo": { "optional": true }, "webpack-cli": { "optional": true }, "webpack-dev-server": { "optional": true } } }