Skip to content

Commit

Permalink
fix package.json mixed up dependencies #16
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed May 9, 2024
1 parent dcb5ef6 commit 01526ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const urls = [
];

urls.forEach(async url => critical(url, {
html: false,
html: true,
console: true,
screenshot: true,
secure: false,
Expand Down Expand Up @@ -125,9 +125,9 @@ $ critical-cli -i http://google.com
Usage

```shell
$ critical-cli.js [options+] url [url+]
$ critical-cli [options+] url [url+]
run the command line tools:
Example: critical-cli.js -d 800x600 -d 1024x768 -i https://facebook.com
Example: critical-cli -d 800x600 -d 1024x768 -i https://facebook.com

Options:
--version Show version number [boolean]
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "1.0.1",
"name": "@tbela99/critical",
"description": "Extract critical CSS from HTML pages to enable instantaneous rendering",
"type": "module",
Expand All @@ -25,12 +25,10 @@
"build": "rollup -c"
},
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@tbela99/css-parser": "^0.5.1",
"chalk": "^5.3.0",
"yargs": "^17.7.2"
"yargs": "^17.7.2",
"playwright": "^1.43.1",
"@tbela99/css-parser": "^0.5.1"
},
"directories": {
"test": "test"
Expand All @@ -53,6 +51,7 @@
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-terser": "^0.4.4",
"@types/chai": "^4.3.12",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.25",
Expand All @@ -61,7 +60,6 @@
"@web/test-runner-playwright": "^0.11.0",
"c8": "^9.1.0",
"mocha": "^10.4.0",
"playwright": "^1.43.1",
"rollup": "^4.13.0",
"rollup-plugin-dts": "^6.1.0",
"tslib": "^2.6.2"
Expand Down

0 comments on commit 01526ae

Please sign in to comment.