mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-05 03:08:39 +00:00

Converts properties figma normally shows as CSS values, but converted to the equivalent Slint syntax.
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "Figma to Slint (Beta)",
|
|
"version": "1.10.0",
|
|
"description": "Slint plugin for Figma",
|
|
"main": "code.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"lint": "eslint --ext .ts,.tsx --ignore-pattern node_modules .",
|
|
"lint:fix": "eslint --ext .ts,.tsx --ignore-pattern node_modules --fix .",
|
|
"check": "biome check",
|
|
"format": "biome format",
|
|
"format:fix": "biome format --write",
|
|
"watch": "pnpm build --watch"
|
|
},
|
|
"author": "",
|
|
"license": "",
|
|
"devDependencies": {
|
|
"@figma/eslint-plugin-figma-plugins": "0.15.0",
|
|
"@figma/plugin-typings": "*",
|
|
"@typescript-eslint/eslint-plugin": "6.12.0",
|
|
"@typescript-eslint/parser": "6.12.0",
|
|
"eslint": "8.54.0",
|
|
"typescript": "5.3.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@figma/figma-plugins/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"root": true,
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|