51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "clone-static",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Deterministic website compiler CLI and library for ditto.site.",
|
|
"license": "MIT",
|
|
"author": "ion-design",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ion-design/ditto.site.git",
|
|
"directory": "compiler"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ion-design/ditto.site/issues"
|
|
},
|
|
"homepage": "https://github.com/ion-design/ditto.site#readme",
|
|
"type": "module",
|
|
"bin": {
|
|
"clone-static": "./src/cli.ts"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"clone": "tsx src/cli.ts",
|
|
"clone-site": "tsx src/site/cloneSite.ts",
|
|
"validate-site": "tsx src/site/validateSite.ts",
|
|
"bench": "tsx src/runner/benchmark.ts",
|
|
"bench-site": "tsx src/runner/siteBenchmark.ts",
|
|
"validate-one": "tsx src/runner/validateOne.ts",
|
|
"quality": "tsx src/runner/qualityScore.ts",
|
|
"audit": "tsx src/runner/codeAudit.ts",
|
|
"regen": "tsx src/runner/regen.ts",
|
|
"test": "node --import tsx --test test/*.test.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "1.56.1",
|
|
"pixelmatch": "5.3.0",
|
|
"pngjs": "7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "4.22.4",
|
|
"typescript": "5.7.3",
|
|
"@types/node": "22.10.5",
|
|
"@types/pixelmatch": "5.2.6",
|
|
"@types/pngjs": "6.0.5"
|
|
}
|
|
}
|