-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
npx unlighthouse-ci
global usage
- Loading branch information
Showing
7 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# unlighthouse | ||
|
||
Alias package for [Unlighthouse](https://github.com/harlan-zw/unlighthouse). Includes two binaries: `unlighthouse` and `unlighthouse-ci`. | ||
|
||
## License | ||
|
||
MIT License © 2021-PRESENT [Harlan Wilton](https://github.com/harlan-zw) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env node | ||
import('@unlighthouse/cli/ci') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env node | ||
import('@unlighthouse/cli') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { defineBuildConfig } from 'unbuild' | ||
|
||
export default defineBuildConfig({ | ||
entries: [ | ||
'src/index', | ||
], | ||
rollup: { | ||
emitCJS: true, | ||
}, | ||
clean: true, | ||
declaration: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './dist/index' | ||
export { default } from './dist/index' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"name": "unlighthouse-ci", | ||
"version": "0.12.1", | ||
"description": "Delightfully scan your entire website with Google Lighthouse. Navigate your performance, accessibility and SEO.", | ||
"license": "MIT", | ||
"homepage": "https://github.com/harlan-zw/unlighthouse#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/harlan-zw/unlighthouse.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/harlan-zw/unlighthouse/issues" | ||
}, | ||
"keywords": [ | ||
"lighthouse", | ||
"audit", | ||
"seo", | ||
"performance", | ||
"speed" | ||
], | ||
"sideEffects": false, | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "index.d.ts", | ||
"bin": { | ||
"unlighthouse": "bin/unlighthouse.cjs", | ||
"unlighthouse-ci": "bin/unlighthouse-ci.cjs" | ||
}, | ||
"files": [ | ||
"*.d.ts", | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"build": "unbuild", | ||
"stub": "unbuild --stub" | ||
}, | ||
"peerDependenciesMeta": { | ||
"puppeteer": { | ||
"optional": true | ||
}, | ||
"vue": { | ||
"optional": true | ||
} | ||
}, | ||
"dependencies": { | ||
"@unlighthouse/cli": "workspace:../cli", | ||
"@unlighthouse/client": "workspace:../client", | ||
"@unlighthouse/core": "workspace:../core" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from '@unlighthouse/core' |