Ghost/apps/admin-x-settings/package.json
Jono M a97f384cdf
Implemented email customisation labs flag in AdminX (#17881)
refs https://github.com/TryGhost/Product/issues/3745

---

This pull request adds a new feature to the `admin-x-settings` app that
allows users to customize the colors of their email newsletters. It also
simplifies and refactors the routing logic and the components related to
integrations, newsletters, and users. It introduces new dependencies and
components for color manipulation and selection, and updates the
existing components and stories to use them.
2023-09-04 07:00:37 +01:00

96 lines
3.1 KiB
JSON

{
"name": "@tryghost/admin-x-settings",
"version": "0.0.10",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-settings"
},
"author": "Ghost Foundation",
"files": [
"LICENSE",
"README.md",
"dist/"
],
"main": "./dist/admin-x-settings.umd.cjs",
"module": "./dist/admin-x-settings.js",
"exports": {
".": {
"import": "./dist/admin-x-settings.js",
"require": "./dist/admin-x-settings.umd.cjs"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "concurrently \"vite preview\" \"vite build --watch\"",
"dev:start": "vite",
"build": "tsc && vite build",
"lint": "yarn run lint:js",
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
"test:unit": "yarn build",
"test:e2e": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
"test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:e2e --headed",
"test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"preship": "yarn lint",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@codemirror/lang-html": "^6.4.5",
"@dnd-kit/core": "6.0.8",
"@dnd-kit/sortable": "7.0.2",
"@ebay/nice-modal-react": "1.2.10",
"@tanstack/react-query": "4.33.0",
"@tryghost/color-utils": "0.1.24",
"@tryghost/limit-service": "^1.2.8",
"@tryghost/timezone-data": "0.3.0",
"@uiw/react-codemirror": "^4.21.9",
"clsx": "2.0.0",
"react": "18.2.0",
"react-colorful": "^5.1.2",
"react-dom": "18.2.0",
"validator": "7.2.0"
},
"devDependencies": {
"@playwright/test": "1.37.1",
"@storybook/addon-essentials": "7.4.0",
"@storybook/addon-interactions": "7.4.0",
"@storybook/addon-links": "7.4.0",
"@storybook/addon-styling": "1.3.7",
"@storybook/blocks": "7.4.0",
"@storybook/react": "7.4.0",
"@storybook/react-vite": "7.4.0",
"@storybook/testing-library": "0.2.0",
"@tailwindcss/forms": "0.5.6",
"@tailwindcss/line-clamp": "0.4.4",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@types/validator": "13.11.1",
"@vitejs/plugin-react": "4.0.4",
"autoprefixer": "10.4.15",
"concurrently": "8.2.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.3",
"eslint-plugin-tailwindcss": "3.13.0",
"postcss": "8.4.29",
"postcss-import": "15.1.0",
"prop-types": "15.8.1",
"react-hot-toast": "2.4.1",
"react-select": "5.7.4",
"rollup-plugin-node-builtins": "2.1.2",
"storybook": "7.4.0",
"stylelint": "15.10.3",
"tailwindcss": "3.3.3",
"vite": "4.4.9",
"vite-plugin-svgr": "3.2.0",
"vitest": "0.34.3"
}
}