| 1 | {
|
|---|
| 2 | "name": "mini-css-extract-plugin",
|
|---|
| 3 | "version": "2.10.2",
|
|---|
| 4 | "description": "extracts CSS into separate files",
|
|---|
| 5 | "keywords": [
|
|---|
| 6 | "webpack",
|
|---|
| 7 | "css",
|
|---|
| 8 | "extract",
|
|---|
| 9 | "hmr"
|
|---|
| 10 | ],
|
|---|
| 11 | "homepage": "https://github.com/webpack/mini-css-extract-plugin",
|
|---|
| 12 | "bugs": "https://github.com/webpack/mini-css-extract-plugin/issues",
|
|---|
| 13 | "repository": "webpack/mini-css-extract-plugin",
|
|---|
| 14 | "funding": {
|
|---|
| 15 | "type": "opencollective",
|
|---|
| 16 | "url": "https://opencollective.com/webpack"
|
|---|
| 17 | },
|
|---|
| 18 | "license": "MIT",
|
|---|
| 19 | "author": "Tobias Koppers @sokra",
|
|---|
| 20 | "main": "dist/index.js",
|
|---|
| 21 | "types": "types/index.d.ts",
|
|---|
| 22 | "files": [
|
|---|
| 23 | "dist",
|
|---|
| 24 | "types"
|
|---|
| 25 | ],
|
|---|
| 26 | "scripts": {
|
|---|
| 27 | "start": "npm run build -- -w",
|
|---|
| 28 | "prebuild": "npm run clean",
|
|---|
| 29 | "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
|
|---|
| 30 | "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
|
|---|
| 31 | "build": "npm-run-all -p \"build:**\"",
|
|---|
| 32 | "clean": "del-cli dist",
|
|---|
| 33 | "commitlint": "commitlint --from=main",
|
|---|
| 34 | "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
|
|---|
| 35 | "lint:code": "eslint --cache .",
|
|---|
| 36 | "lint:spelling": "cspell \"**/*.*\"",
|
|---|
| 37 | "lint:types": "tsc --pretty --noEmit",
|
|---|
| 38 | "lint:es-check": "es-check es5 dist/hmr/hotModuleReplacement.js",
|
|---|
| 39 | "lint": "npm-run-all -l -p \"lint:**\"",
|
|---|
| 40 | "fix:code": "npm run lint:code -- --fix",
|
|---|
| 41 | "fix:prettier": "npm run lint:prettier -- --write",
|
|---|
| 42 | "fix": "npm-run-all -l fix:code fix:prettier",
|
|---|
| 43 | "prepare": "husky install && npm run build",
|
|---|
| 44 | "release": "standard-version",
|
|---|
| 45 | "security": "npm audit --production",
|
|---|
| 46 | "test:only": "cross-env NODE_ENV=test jest",
|
|---|
| 47 | "test:only:experimental": "EXPERIMENTAL_USE_IMPORT_MODULE=true cross-env NODE_ENV=test jest",
|
|---|
| 48 | "test:watch": "npm run test:only -- --watch",
|
|---|
| 49 | "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
|
|---|
| 50 | "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",
|
|---|
| 51 | "pretest": "npm run lint",
|
|---|
| 52 | "test": "cross-env NODE_ENV=test npm run test:coverage"
|
|---|
| 53 | },
|
|---|
| 54 | "dependencies": {
|
|---|
| 55 | "schema-utils": "^4.0.0",
|
|---|
| 56 | "tapable": "^2.2.1"
|
|---|
| 57 | },
|
|---|
| 58 | "devDependencies": {
|
|---|
| 59 | "@babel/cli": "^7.24.1",
|
|---|
| 60 | "@babel/core": "^7.24.4",
|
|---|
| 61 | "@babel/preset-env": "^7.24.4",
|
|---|
| 62 | "@commitlint/cli": "^17.5.1",
|
|---|
| 63 | "@commitlint/config-conventional": "^17.4.4",
|
|---|
| 64 | "@types/node": "^18.15.11",
|
|---|
| 65 | "bootstrap": "^4.6.2",
|
|---|
| 66 | "cross-env": "^7.0.3",
|
|---|
| 67 | "cspell": "^6.31.1",
|
|---|
| 68 | "css-loader": "^6.10.0",
|
|---|
| 69 | "del": "^6.0.0",
|
|---|
| 70 | "del-cli": "^4.0.0",
|
|---|
| 71 | "es-check": "^7.1.0",
|
|---|
| 72 | "eslint": "^9.32.0",
|
|---|
| 73 | "eslint-config-webpack": "^4.4.2",
|
|---|
| 74 | "file-loader": "^6.2.0",
|
|---|
| 75 | "husky": "^7.0.0",
|
|---|
| 76 | "jest": "^28.1.3",
|
|---|
| 77 | "jest-environment-jsdom": "^28.1.3",
|
|---|
| 78 | "jsdom": "^19.0.0",
|
|---|
| 79 | "lint-staged": "^13.2.1",
|
|---|
| 80 | "memfs": "^3.4.13",
|
|---|
| 81 | "npm-run-all": "^4.1.5",
|
|---|
| 82 | "prettier": "^3.6.0",
|
|---|
| 83 | "prettier-2": "npm:prettier@^2",
|
|---|
| 84 | "sass": "^1.74.1",
|
|---|
| 85 | "sass-loader": "^12.6.0",
|
|---|
| 86 | "standard-version": "^9.3.0",
|
|---|
| 87 | "typescript": "^5.8.0",
|
|---|
| 88 | "webpack": "^5.102.0",
|
|---|
| 89 | "webpack-cli": "^4.9.2",
|
|---|
| 90 | "webpack-dev-server": "^5.2.1"
|
|---|
| 91 | },
|
|---|
| 92 | "peerDependencies": {
|
|---|
| 93 | "webpack": "^5.0.0"
|
|---|
| 94 | },
|
|---|
| 95 | "engines": {
|
|---|
| 96 | "node": ">= 12.13.0"
|
|---|
| 97 | }
|
|---|
| 98 | }
|
|---|