UNPKG

figma-api-stub

Version:
53 lines (52 loc) 1.39 kB
{ "name": "figma-api-stub", "version": "0.0.57", "description": "Figma API stub", "main": "./dist/index.js", "scripts": { "tsc": "tsc -p tsconfig.build.json", "prettify": "prettier \"src/**/*.{js,jsx,ts,tsx}\" --ignore-path ./.prettierignore --write && git add . && git status", "build": "npm run build:clean && npm run build:lib", "build:clean": "rimraf dist", "build:lib": "cross-env BABEL_ENV=production tsc -p tsconfig.build.json", "prepublishOnly": "npm run build", "test": "jest" }, "jest": { "preset": "ts-jest/presets/js-with-babel" }, "pre-commit": [ "prettify", "tsc", "test" ], "repository": { "type": "git", "url": "git+ssh://git@github.com/react-figma/figma-api-stub.git" }, "keywords": [ "figma", "figma-plugins" ], "author": "Ilya Lesik <ilialesik@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/react-figma/figma-api-stub/issues" }, "homepage": "https://github.com/react-figma/figma-api-stub#readme", "devDependencies": { "@figma/plugin-typings": "^1.42.1", "@types/jest": "^24.0.23", "cross-env": "^6.0.3", "jest": "^24.9.0", "pre-commit": "^1.2.2", "prettier": "^1.18.2", "rimraf": "^3.0.0", "ts-jest": "^24.2.0", "typescript": "3.5.3" }, "dependencies": { "nanoid": "^3.1.20", "rxjs": "^6.5.3" } }