forked from southleft/figmalint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.69 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "ctdslint",
"version": "3.1.0",
"description": "ctdsLint - CT/DS (Code & Theory Design System) audit tool for Figma. Validates variable collections, text styles, and component variable bindings for design system compliance. Available as a Figma plugin and CLI.",
"main": "dist/code.js",
"bin": {
"ctdslint": "dist-cli/cli/index.js"
},
"scripts": {
"build": "npm run build:plugin && npm run build:cli",
"build:plugin": "npm run clean:plugin && npm run bundle:plugin && npm run copy-assets",
"build:cli": "npm run clean:cli && npm run bundle:cli",
"bundle:plugin": "esbuild src/code.ts --bundle --outfile=dist/code.js --platform=neutral --target=es2017 --format=iife --global-name='' --loader:.ts=ts",
"bundle:cli": "esbuild src/cli/index.ts --bundle --outfile=dist-cli/cli/index.js --platform=node --target=node18 --format=cjs --loader:.ts=ts",
"dev": "npm run bundle:plugin -- --watch",
"dev:cli": "npm run bundle:cli -- --watch",
"copy-assets": "cp ui-enhanced.html dist/ && cp manifest.json dist/",
"clean": "rm -rf dist dist-cli",
"clean:plugin": "rm -rf dist",
"clean:cli": "rm -rf dist-cli",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.cli.json"
},
"keywords": [
"figma",
"plugin",
"ctds",
"design-tokens",
"design-system",
"audit",
"variables",
"validation",
"tokens",
"cli"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@figma/plugin-typings": "^1.123.0",
"@types/node": "^20.11.0",
"esbuild": "^0.27.3",
"typescript": "^5.9.3"
},
"files": [
"dist/**/*",
"dist-cli/**/*"
]
}