-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ae6cce
commit 2dcf621
Showing
4 changed files
with
56 additions
and
41 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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "critters-rs", | ||
"version": "0.1.0", | ||
"description": "Quickly inline your website's critical CSS.", | ||
"private": true, | ||
"scripts": { | ||
"build": "moon run :build", | ||
"build:napi": "moon run critters:build --", | ||
|
@@ -10,14 +11,17 @@ | |
"format": "biome format --write", | ||
"check": "biome check", | ||
"createNpmDirs": "napi create-npm-dirs --package-json-path ./packages/critters/package.json", | ||
"artifacts": "napi artifacts --package-json-path ./packages/critters/package.json", | ||
"prepublishOnly": "napi prepublish -t npm --package-json-path ./packages/critters/package.json --no-gh-release" | ||
"artifacts": "napi artifacts --package-json-path ./packages/critters/package.json" | ||
}, | ||
"keywords": [ | ||
"css", | ||
"critical-css", | ||
"performance" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/michaelhthomas/critters-rs" | ||
}, | ||
"author": "Michael Thomas", | ||
"license": "Apache-2.0", | ||
"packageManager": "[email protected]+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca", | ||
|
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
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 |
---|---|---|
@@ -1,39 +1,45 @@ | ||
{ | ||
"name": "@critters-rs/critters", | ||
"version": "1.0.0", | ||
"description": "Quickly inline your website's critical CSS.", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/*.{js,ts}" | ||
], | ||
"scripts": { | ||
"test": "vitest run", | ||
"prepublishOnly": "napi pre-publish -t npm --cwd ../.. --package-json-path ./packages/critters/package.json" | ||
}, | ||
"napi": { | ||
"binaryName": "critters-rs", | ||
"targets": [ | ||
"x86_64-pc-windows-msvc", | ||
"aarch64-pc-windows-msvc", | ||
"x86_64-apple-darwin", | ||
"aarch64-apple-darwin", | ||
"x86_64-unknown-linux-gnu", | ||
"aarch64-unknown-linux-gnu" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@napi-rs/cli": "3.0.0-alpha.63", | ||
"@rollup/plugin-commonjs": "^28.0.0", | ||
"@rollup/plugin-esm-shim": "^0.1.7", | ||
"consola": "^3.2.3", | ||
"nodemon": "^3.1.7", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.24.0", | ||
"rollup-plugin-copy": "^3.5.0", | ||
"tsx": "^4.19.1", | ||
"typescript": "^5.6.2", | ||
"vitest": "^2.1.2" | ||
} | ||
} | ||
"name": "@critters-rs/critters", | ||
"version": "1.0.0", | ||
"description": "Quickly inline your website's critical CSS.", | ||
"author": "Michael Thomas", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/michaelhthomas/critters-rs" | ||
}, | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/*.{js,ts}" | ||
], | ||
"scripts": { | ||
"test": "vitest run", | ||
"prepublishOnly": "napi pre-publish -t npm --cwd ../.. --package-json-path ./packages/critters/package.json" | ||
}, | ||
"napi": { | ||
"binaryName": "critters-rs", | ||
"targets": [ | ||
"x86_64-pc-windows-msvc", | ||
"aarch64-pc-windows-msvc", | ||
"x86_64-apple-darwin", | ||
"aarch64-apple-darwin", | ||
"x86_64-unknown-linux-gnu", | ||
"aarch64-unknown-linux-gnu" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@napi-rs/cli": "3.0.0-alpha.63", | ||
"@rollup/plugin-commonjs": "^28.0.0", | ||
"@rollup/plugin-esm-shim": "^0.1.7", | ||
"consola": "^3.2.3", | ||
"nodemon": "^3.1.7", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.24.0", | ||
"rollup-plugin-copy": "^3.5.0", | ||
"tsx": "^4.19.1", | ||
"typescript": "^5.6.2", | ||
"vitest": "^2.1.2" | ||
} | ||
} |