mirror of
https://github.com/Manavarya09/design-extract.git
synced 2026-09-19 02:41:14 +08:00
13cf3aed17
Every failure exited 1, so a CI gate could not tell a design regression from a flaky preview deploy. - exit 0 ok, 1 drift over threshold, 2 extraction failed, 3 navigation timeout; wired into extraction, drift, ci and lint - the Action installs the designlang version it was tagged with, runs install-browser, fails on drift by default, annotates each changed token (escaped), says why a job failed, and lists Manavarya09 as author - fix changed-count being written as "0" twice when nothing changed - README: install-browser, live MCP tools, CLI reference - 13.3.0 changelog with the breaking changes called out
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"name": "designlang",
|
|
"version": "13.3.0",
|
|
"description": "Extract the complete design language from any website and ship it — clone to a working Next.js starter, guard tokens with a CI drift bot, or browse everything in a local studio. Outputs W3C DTCG tokens, motion tokens, typed anatomy stubs, Tailwind config, and ready-to-paste v0 / Lovable / Cursor / Claude-Artifacts prompts.",
|
|
"type": "module",
|
|
"bin": {
|
|
"designlang": "./bin/design-extract.js"
|
|
},
|
|
"main": "src/index.js",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./api": "./src/api.js",
|
|
"./mcp": "./src/mcp/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"start": "node bin/design-extract.js",
|
|
"check-plugin": "node scripts/check-plugin-version.mjs",
|
|
"test": "node --test tests/*.test.js"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^15.0.0",
|
|
"ora": "^9.4.0",
|
|
"pdf-lib": "^1.17.1",
|
|
"pixelmatch": "^7.2.0",
|
|
"playwright": "^1.61.0",
|
|
"pngjs": "^7.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"keywords": [
|
|
"design-system",
|
|
"design-tokens",
|
|
"design-language",
|
|
"css",
|
|
"tailwind",
|
|
"playwright",
|
|
"extraction",
|
|
"colors",
|
|
"typography",
|
|
"claude-code",
|
|
"plugin",
|
|
"wordpress",
|
|
"vue",
|
|
"svelte",
|
|
"json",
|
|
"ci-cd",
|
|
"motion",
|
|
"animation",
|
|
"component-anatomy",
|
|
"brand-voice",
|
|
"token-lint",
|
|
"visual-diff",
|
|
"design-similarity",
|
|
"design-dna"
|
|
],
|
|
"author": {
|
|
"name": "Manav Arya Singh",
|
|
"url": "https://www.manavaryasingh.com"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Manavarya09/design-extract.git"
|
|
},
|
|
"homepage": "https://designlang.app",
|
|
"bugs": {
|
|
"url": "https://github.com/Manavarya09/design-extract/issues"
|
|
}
|
|
}
|