mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 05:33:02 -05:00
7cae18460c
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"name": "penpot-exporter",
|
|
"version": "0.3.1",
|
|
"description": "Penpot exporter",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "npm run build:ui && npm run build:main -- --minify",
|
|
"build:main": "esbuild plugin-src/code.ts --bundle --outfile=dist/code.js --target=es2016",
|
|
"build:ui": "vite build --minify esbuild --emptyOutDir=false",
|
|
"build:watch": "concurrently -n widget,iframe \"npm run build:main -- --watch\" \"npm run build:ui -- --watch\"",
|
|
"dev": "concurrently -n tsc,build,vite 'npm:tsc:watch' 'npm:build:watch' 'vite'",
|
|
"lint": "concurrently \"npm:lint:*\"",
|
|
"lint:eslint": "eslint .",
|
|
"lint:stylelint": "stylelint ui-src/**.css",
|
|
"lint:prettier": "prettier --check .",
|
|
"lint:tsc-ui": "tsc -p ui-src/tsconfig.json --noEmit --pretty false",
|
|
"lint:tsc-plugin": "tsc -p plugin-src/tsconfig.json --noEmit --pretty false",
|
|
"fix-lint": "concurrently \"npm:fix-lint:*\"",
|
|
"fix-lint:eslint": "eslint . --fix",
|
|
"fix-lint:stylelint": "stylelint ui-src/**.css --fix",
|
|
"fix-lint:prettier": "prettier --write ."
|
|
},
|
|
"author": "Kaleidos",
|
|
"license": "MPL2.0",
|
|
"dependencies": {
|
|
"@create-figma-plugin/ui": "^3.2",
|
|
"classnames": "^2.5",
|
|
"preact": "^10.21",
|
|
"react-hook-form": "^7.51",
|
|
"romans": "^2.0",
|
|
"slugify": "^1.6",
|
|
"svg-path-parser": "^1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.5",
|
|
"@changesets/cli": "^2.27",
|
|
"@figma/eslint-plugin-figma-plugins": "^0.15",
|
|
"@figma/plugin-typings": "^1.92",
|
|
"@preact/preset-vite": "^2.8",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3",
|
|
"@types/svg-path-parser": "^1.1",
|
|
"@typescript-eslint/eslint-plugin": "^7.8",
|
|
"@typescript-eslint/parser": "^7.8",
|
|
"@vitejs/plugin-react-swc": "^3.6",
|
|
"concurrently": "^8.2",
|
|
"esbuild": "^0.20",
|
|
"eslint": "^8.57",
|
|
"eslint-config-prettier": "^9.1",
|
|
"eslint-plugin-prettier": "^5.1",
|
|
"eslint-plugin-react": "^7.34",
|
|
"prettier": "^3.2",
|
|
"stylelint": "^16.4",
|
|
"stylelint-config-standard": "^36.0",
|
|
"typescript": "^5.4",
|
|
"vite": "^5.2",
|
|
"vite-plugin-singlefile": "^2.0",
|
|
"vite-plugin-svgr": "^4.2",
|
|
"vite-tsconfig-paths": "^4.3"
|
|
}
|
|
}
|