|
2 | 2 | "name": "beasties-webpack-plugin", |
3 | 3 | "version": "0.0.26", |
4 | 4 | "description": "Webpack plugin to inline critical CSS and lazy-load the rest.", |
5 | | - "main": "dist/beasties-webpack-plugin.js", |
6 | | - "module": "dist/beasties-webpack-plugin.mjs", |
7 | | - "source": "src/index.js", |
8 | | - "exports": { |
9 | | - "import": "./dist/beasties-webpack-plugin.mjs", |
10 | | - "require": "./dist/beasties-webpack-plugin.js", |
11 | | - "default": "./dist/beasties-webpack-plugin.mjs" |
12 | | - }, |
13 | | - "files": [ |
14 | | - "src", |
15 | | - "dist" |
16 | | - ], |
17 | | - "license": "Apache-2.0", |
18 | 5 | "author": "The Chromium Authors", |
19 | 6 | "contributors": [ |
20 | 7 | { |
|
31 | 18 | "url": "https://roe.dev" |
32 | 19 | } |
33 | 20 | ], |
| 21 | + "license": "Apache-2.0", |
| 22 | + "repository": { |
| 23 | + "type": "git", |
| 24 | + "url": "https://github.com/danielroe/beasties", |
| 25 | + "directory": "packages/beasties-webpack-plugin" |
| 26 | + }, |
34 | 27 | "keywords": [ |
35 | 28 | "critical css", |
36 | 29 | "inline css", |
|
39 | 32 | "webpack plugin", |
40 | 33 | "performance" |
41 | 34 | ], |
42 | | - "repository": { |
43 | | - "type": "git", |
44 | | - "url": "https://github.com/danielroe/beasties", |
45 | | - "directory": "packages/beasties-webpack-plugin" |
| 35 | + "exports": { |
| 36 | + "import": "./dist/beasties-webpack-plugin.mjs", |
| 37 | + "require": "./dist/beasties-webpack-plugin.js", |
| 38 | + "default": "./dist/beasties-webpack-plugin.mjs" |
46 | 39 | }, |
| 40 | + "main": "dist/beasties-webpack-plugin.js", |
| 41 | + "module": "dist/beasties-webpack-plugin.mjs", |
| 42 | + "source": "src/index.js", |
| 43 | + "files": [ |
| 44 | + "dist", |
| 45 | + "src" |
| 46 | + ], |
47 | 47 | "scripts": { |
48 | 48 | "build": "microbundle --target node --no-sourcemap -f cjs,esm", |
49 | 49 | "docs": "documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src", |
50 | 50 | "prepare": "npm run -s build" |
51 | 51 | }, |
| 52 | + "peerDependencies": { |
| 53 | + "html-webpack-plugin": "^4.5.2" |
| 54 | + }, |
| 55 | + "peerDependenciesMeta": { |
| 56 | + "html-webpack-plugin": { |
| 57 | + "optional": true |
| 58 | + } |
| 59 | + }, |
| 60 | + "dependencies": { |
| 61 | + "beasties": "^0.0.16", |
| 62 | + "minimatch": "^3.0.8", |
| 63 | + "webpack-log": "^3.0.2", |
| 64 | + "webpack-sources": "^1.4.3" |
| 65 | + }, |
52 | 66 | "devDependencies": { |
53 | 67 | "css-loader": "4.3.0", |
54 | 68 | "documentation": "13.2.5", |
|
57 | 71 | "microbundle": "0.15.1", |
58 | 72 | "mini-css-extract-plugin": "0.10.1", |
59 | 73 | "webpack": "4.47.0" |
60 | | - }, |
61 | | - "dependencies": { |
62 | | - "beasties": "^0.0.16", |
63 | | - "minimatch": "^3.0.8", |
64 | | - "webpack-log": "^3.0.2", |
65 | | - "webpack-sources": "^1.4.3" |
66 | | - }, |
67 | | - "peerDependencies": { |
68 | | - "html-webpack-plugin": "^4.5.2" |
69 | | - }, |
70 | | - "peerDependenciesMeta": { |
71 | | - "html-webpack-plugin": { |
72 | | - "optional": true |
73 | | - } |
74 | 74 | } |
75 | 75 | } |
0 commit comments