@ai.to.design/design-token-extractor 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +109 -0
  2. package/dist/cli.js +1597 -0
  3. package/package.json +63 -0
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@ai.to.design/design-token-extractor",
3
+ "version": "1.3.4",
4
+ "description": "Extract design tokens from any website into W3C DTCG JSON",
5
+ "type": "module",
6
+ "bin": {
7
+ "design-token-extractor": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">=18"
14
+ },
15
+ "scripts": {
16
+ "build": "tsup",
17
+ "dev": "tsup --watch",
18
+ "test": "vitest run",
19
+ "test:watch": "vitest",
20
+ "lint": "eslint src/",
21
+ "typecheck": "tsc --noEmit",
22
+ "prepublishOnly": "npm run build"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "dependencies": {
28
+ "commander": "^11.0.0",
29
+ "ora": "^8.0.0",
30
+ "playwright": "^1.44.0",
31
+ "postcss": "^8.4.24",
32
+ "zod": "^3.23.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/jsdom": "^28.0.1",
36
+ "@types/node": "^20.0.0",
37
+ "eslint": "^9.0.0",
38
+ "jsdom": "^29.0.2",
39
+ "tsup": "^8.0.0",
40
+ "typescript": "^5.2.0",
41
+ "typescript-eslint": "^8.0.0",
42
+ "vitest": "^2.0.0"
43
+ },
44
+ "keywords": [
45
+ "design-tokens",
46
+ "dtcg",
47
+ "css",
48
+ "design-system",
49
+ "extractor",
50
+ "cli"
51
+ ],
52
+ "license": "MIT",
53
+ "author": "Roland Wallner",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/I2olanD/ai.to.prototype.git",
57
+ "directory": "packages/design-token-extractor"
58
+ },
59
+ "homepage": "https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme",
60
+ "bugs": {
61
+ "url": "https://github.com/I2olanD/ai.to.prototype/issues"
62
+ }
63
+ }