@styleframe/figma 1.0.0
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.
- package/dist/index.d.ts +440 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +831 -0
- package/dist/index.js.map +1 -0
- package/dist/plugin/code.js +3803 -0
- package/dist/plugin/ui.html +1045 -0
- package/manifest.json +16 -0
- package/package.json +61 -0
package/manifest.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Styleframe - Design Tokens Sync",
|
|
3
|
+
"id": "1597716416772135340",
|
|
4
|
+
"api": "1.0.0",
|
|
5
|
+
"main": "dist/plugin/code.js",
|
|
6
|
+
"ui": "dist/plugin/ui.html",
|
|
7
|
+
"editorType": ["figma"],
|
|
8
|
+
"documentAccess": "dynamic-page",
|
|
9
|
+
"menu": [
|
|
10
|
+
{ "name": "Import to Figma", "command": "import" },
|
|
11
|
+
{ "name": "Export from Figma", "command": "export" }
|
|
12
|
+
],
|
|
13
|
+
"networkAccess": {
|
|
14
|
+
"allowedDomains": ["none"]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@styleframe/figma",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Figma plugin for syncing Styleframe variables with Figma variables",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"styleframe",
|
|
9
|
+
"figma",
|
|
10
|
+
"design-tokens",
|
|
11
|
+
"css-variables"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"module": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"manifest.json",
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@styleframe/core": "^2.4.0",
|
|
32
|
+
"culori": "^4.0.2"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@figma/plugin-typings": "^1.103.0",
|
|
36
|
+
"@styleframe/config-typescript": "^2",
|
|
37
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
38
|
+
"tsdown": "^0.12.0",
|
|
39
|
+
"typescript": "^5.8.3",
|
|
40
|
+
"vite": "^6.3.5",
|
|
41
|
+
"vite-plugin-singlefile": "^2.0.3",
|
|
42
|
+
"vitest": "^3.1.4"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/styleframe-dev/styleframe#readme",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/styleframe-dev/styleframe/issues"
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/styleframe-dev/styleframe.git"
|
|
51
|
+
},
|
|
52
|
+
"author": "Alex Grozav <alex@styleframe.dev>",
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "tsdown && vite build --mode code && vite build",
|
|
55
|
+
"build:lib": "tsdown",
|
|
56
|
+
"build:plugin": "vite build --mode code && vite build",
|
|
57
|
+
"dev": "tsdown -w",
|
|
58
|
+
"typecheck": "tsc --noEmit",
|
|
59
|
+
"test": "vitest run"
|
|
60
|
+
}
|
|
61
|
+
}
|