mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 05:33:02 -05:00
59 lines
2.2 KiB
JSON
59 lines
2.2 KiB
JSON
{
|
|
"name": "penpot-exporter",
|
|
"version": "0.1.0",
|
|
"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": {
|
|
"react": "^18.2",
|
|
"react-dom": "^18.2",
|
|
"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.90",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3",
|
|
"@types/react": "^18.2",
|
|
"@types/react-dom": "^18.2",
|
|
"@typescript-eslint/eslint-plugin": "^7.5",
|
|
"@typescript-eslint/parser": "^7.5",
|
|
"@types/svg-path-parser": "^1.1",
|
|
"@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.3",
|
|
"stylelint-config-standard": "^36.0",
|
|
"tsconfig-paths-webpack-plugin": "^4.1",
|
|
"typescript": "^5.4",
|
|
"vite": "^5.2",
|
|
"vite-plugin-singlefile": "^2.0",
|
|
"vite-plugin-svgr": "^4.2",
|
|
"vite-tsconfig-paths": "^4.3"
|
|
}
|
|
}
|