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