@figmarine/rest
Version:
TypeScript client for the Figma REST API with built-in cache and auto-retry. Always up-to-date.
91 lines • 2.72 kB
JSON
{
"name": "@figmarine/rest",
"version": "1.5.0",
"license": "MIT",
"type": "module",
"description": "TypeScript client for the Figma REST API with built-in cache and auto-retry. Always up-to-date.",
"repository": {
"type": "git",
"url": "https://github.com/Sidnioulz/figmarine",
"directory": "packages/rest"
},
"bugs": {
"url": "https://github.com/Sidnioulz/figmarine/issues"
},
"keywords": [
"figma",
"rest",
"api",
"openapi-specification",
"oas",
"figmarine"
],
"author": "Steve Dodier-Lazaro",
"homepage": "https://github.com/Sidnioulz/figmarine",
"exports": {
".": {
"types": "./dist/index.d.js",
"default": "./dist/index.js"
},
"./*": {
"types": "./dist/*.d.js",
"default": "./dist/*.js"
}
},
"files": [
"dist/**"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@faker-js/faker": "^9.7.0",
"@figma/rest-api-spec": "^0.31.0",
"@types/node": "^22.14.1",
"@vitest/coverage-istanbul": "^3.1.1",
"@vitest/coverage-v8": "^3.1.1",
"cacheable": "^1.8.10",
"keyv": "^5.3.2",
"lint-staged": "^15.5.1",
"memfs": "^4.17.0",
"mocked-env": "^1.3.5",
"nock": "^14.0.3",
"swagger-typescript-api": "^13.1.1",
"tsc-watch": "^6.2.1",
"tsup": "^8.4.0",
"typescript": "latest",
"vitest": "^3.1.1",
"yaml": "^2.7.1",
"@figmarine/config-eslint": "0.0.0",
"@figmarine/config-tsup": "0.0.0",
"@figmarine/config-typescript": "0.0.0",
"@figmarine/config-prettier": "0.0.0",
"@figmarine/config-vitest": "0.0.0"
},
"dependencies": {
"@figmarine/cache": "1.0.3",
"@figmarine/logger": "1.0.2",
"axios": "^1.8.4",
"axios-cache-interceptor": "^1.7.0",
"axios-retry": "^4.5.0"
},
"scripts": {
"api:regen": "node ./scripts/regenFigmaRestApi.mjs",
"build": "tsc && tsup --env.NODE_ENV production",
"build:debug": "tsc && tsup --entry src/debug.ts --entry src/index.ts --env.NODE_ENV development",
"dev": "tsc-watch --onSuccess \"tsup --env.NODE_ENV production\"",
"dev:debug": "tsc-watch --onSuccess \"tsup --entry src/debug.ts --entry src/index.ts --env.NODE_ENV development\"",
"docs:build": "echo 'TODO: vitepress build docs'",
"docs:dev": "echo 'TODO: vitepress dev docs --port 1227'",
"docs:serve": "echo 'TODO: vitepress serve docs'",
"lint": "eslint .",
"lint:files": "eslint --",
"lint:fix": "eslint . --fix",
"lint:staged": "lint-staged",
"test": "vitest run",
"test:changed": "vitest run --changed HEAD~1",
"test:coverage": "vitest --coverage run",
"test:dev": "vitest dev",
"typecheck": "tsc --noEmit"
}
}