UNPKG

datocms-plugin-custom-text-styles

Version:

A DatoCMS plugin that gives you the ability to have custom styles for Structured Text Fields.

98 lines (97 loc) 2.31 kB
{ "name": "datocms-plugin-custom-text-styles", "description": "A DatoCMS plugin that gives you the ability to have custom styles for Structured Text Fields.", "homepage": "https://github.com/voorhoede/datocms-plugin-custom-text-styles", "private": false, "version": "1.2.0", "author": "Voorhoede", "license": "MIT", "type": "module", "keywords": [ "datocms-plugin", "custom-text-styles", "field-addon", "structured-text", "custom-styles", "text-styles", "text", "styles" ], "repository": { "type": "git", "url": "https://github.com/voorhoede/datocms-plugin-custom-text-styles.git" }, "datoCmsPlugin": { "title": "Custom Text Styles", "coverImage": "docs/cover.png", "previewImage": "docs/preview.png", "entryPoint": "dist/index.html", "permissions": [] }, "files": [ "dist", "docs" ], "scripts": { "dev": "vite", "build": "tsc -b && vite build", "preview": "vite preview", "prepublishOnly": "npm run build", "prettier": "prettier --write ." }, "dependencies": { "datocms-plugin-sdk": "^2.0.9", "datocms-react-ui": "^2.0.9", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@fortawesome/fontawesome-svg-core": "^6.7.2", "@fortawesome/free-solid-svg-icons": "^6.7.2", "@fortawesome/react-fontawesome": "^0.2.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/react-syntax-highlighter": "^15.5.13", "@vitejs/plugin-react": "^4.3.1", "eslint-plugin-prettier": "^5.2.3", "globals": "^15.9.0", "prettier": "^3.5.3", "react-syntax-highlighter": "^15.6.1", "style-to-js": "^1.1.16", "typescript": "^5.5.3", "vite": "^5.4.1" }, "eslintConfig": { "plugins": [ "prettier" ], "extends": [ "react-app", "prettier" ], "rules": { "no-console": [ "error", { "allow": [ "warn", "error" ] } ], "prettier/prettier": 1 } }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }