UNPKG

3.44 kBJSONView Raw
1{
2 "name": "mini-css-extract-plugin",
3 "version": "2.9.2",
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 "fix:js": "npm run lint:js -- --fix",
34 "fix:prettier": "npm run lint:prettier -- --write",
35 "fix": "npm-run-all -l fix:js fix:prettier",
36 "prepare": "husky install && npm run build",
37 "release": "standard-version",
38 "security": "npm audit --production",
39 "test:only": "cross-env NODE_ENV=test jest",
40 "test:only:experimental": "EXPERIMENTAL_USE_IMPORT_MODULE=true cross-env NODE_ENV=test jest",
41 "test:watch": "npm run test:only -- --watch",
42 "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
43 "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",
44 "pretest": "npm run lint",
45 "test": "cross-env NODE_ENV=test npm run test:coverage"
46 },
47 "files": [
48 "dist",
49 "types"
50 ],
51 "peerDependencies": {
52 "webpack": "^5.0.0"
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/eslint-parser": "^7.24.1",
62 "@babel/preset-env": "^7.24.4",
63 "@commitlint/cli": "^17.5.1",
64 "@commitlint/config-conventional": "^17.4.4",
65 "@types/node": "^18.15.11",
66 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
67 "babel-jest": "^28.1.3",
68 "bootstrap": "^4.6.2",
69 "cross-env": "^7.0.3",
70 "cspell": "^6.31.1",
71 "css-loader": "^6.10.0",
72 "del": "^6.0.0",
73 "del-cli": "^4.0.0",
74 "es-check": "^7.1.0",
75 "eslint": "^8.37.0",
76 "eslint-config-prettier": "^8.8.0",
77 "eslint-plugin-import": "^2.27.5",
78 "file-loader": "^6.2.0",
79 "husky": "^7.0.0",
80 "jest": "^28.1.3",
81 "jest-environment-jsdom": "^28.1.3",
82 "jsdom": "^19.0.0",
83 "lint-staged": "^13.2.1",
84 "memfs": "^3.4.13",
85 "npm-run-all": "^4.1.5",
86 "prettier": "^2.8.7",
87 "sass": "^1.74.1",
88 "sass-loader": "^12.6.0",
89 "standard-version": "^9.3.0",
90 "typescript": "^4.9.5",
91 "webpack": "^5.91.0",
92 "webpack-cli": "^4.9.2",
93 "webpack-dev-server": "^4.13.2"
94 },
95 "keywords": [
96 "webpack",
97 "css",
98 "extract",
99 "hmr"
100 ]
101}