@directededges/specs-from-figma 0.11.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/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@directededges/specs-from-figma",
3
+ "version": "0.11.0",
4
+ "description": "Core data transformation model for Anova design specification tools",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist/",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "scripts": {
20
+ "build": "npm run build:js && npm run build:types",
21
+ "build:types": "tsc --emitDeclarationOnly --outDir dist && find dist -mindepth 2 -type f -delete && find dist -mindepth 1 -type d -empty -delete",
22
+ "build:js": "esbuild src/index.ts --bundle --minify --platform=neutral --target=es2020 --outfile=dist/index.js --format=esm --external:yaml --external:fs --external:fs-extra --external:path --external:fs/promises --external:node:fs --external:node:path --external:node:os --external:node:crypto --define:__ANOVA_SCHEMA_VERSION__=\\\"$(node -p \"JSON.parse(require('fs').readFileSync(require.resolve('@directededges/specs-schema').replace(/dist.*$/,'package.json'),'utf8')).version\")\\\" && javascript-obfuscator dist/index.js --output dist/index.js --config .obfuscatorrc.json",
23
+ "build:dev": "esbuild src/index.ts --bundle --platform=neutral --target=es2020 --outfile=dist/index.js --format=esm --external:yaml --external:fs --external:fs-extra --external:path --external:fs/promises --external:node:fs --external:node:path --external:node:os --external:node:crypto --define:__ANOVA_SCHEMA_VERSION__=\\\"$(node -p \"JSON.parse(require('fs').readFileSync(require.resolve('@directededges/specs-schema').replace(/dist.*$/,'package.json'),'utf8')).version\")\\\"",
24
+ "watch": "npm run watch:js",
25
+ "watch:types": "tsc --emitDeclarationOnly --outDir dist --watch",
26
+ "watch:js": "esbuild src/index.ts --bundle --platform=neutral --target=es2020 --outfile=dist/index.js --format=esm --external:yaml --external:fs --external:fs-extra --external:path --external:fs/promises --external:node:fs --external:node:path --external:node:os --external:node:crypto --define:__ANOVA_SCHEMA_VERSION__=\\\"$(node -p \"JSON.parse(require('fs').readFileSync(require.resolve('@directededges/specs-schema').replace(/dist.*$/,'package.json'),'utf8')).version\")\\\" --watch",
27
+ "test": "vitest run",
28
+ "test:watch": "vitest",
29
+ "test:integration": "vitest run --config vitest.integration.config.ts",
30
+ "test:smoke": "vitest run --config vitest.smoke.config.ts",
31
+ "prepublishOnly": "npm run build"
32
+ },
33
+ "dependencies": {
34
+ "@directededges/specs-schema": "^0.16.0",
35
+ "fs-extra": "^11.3.3",
36
+ "yaml": "^2.8.0"
37
+ },
38
+ "devDependencies": {
39
+ "@figma/plugin-typings": "^1.123.0",
40
+ "@figma/rest-api-spec": "^0.36.0",
41
+ "@types/fs-extra": "^11.0.4",
42
+ "@types/node": "^20.0.0",
43
+ "dts-bundle-generator": "^9.5.1",
44
+ "esbuild": "^0.25.5",
45
+ "javascript-obfuscator": "^5.3.0",
46
+ "typescript": "^5.3.2",
47
+ "vitest": "^4.0.17"
48
+ },
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/directededges/specs-from-figma.git"
52
+ },
53
+ "keywords": [
54
+ "figma",
55
+ "design-system",
56
+ "specification",
57
+ "transformer"
58
+ ],
59
+ "author": "Anova Team",
60
+ "license": "PolyForm-Internal-Use-1.0.0",
61
+ "publishConfig": {
62
+ "registry": "https://registry.npmjs.org/"
63
+ }
64
+ }