cbf486d811
refs https://github.com/TryGhost/Team/issues/3318 Adds error handling pattern for facebook and twitter account settings same as old admin, showing error message when incorrect value is added and also on blur updates the value to include the facebook/twitter URL
89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-settings",
|
|
"version": "0.0.6",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-settings"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"type": "module",
|
|
"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",
|
|
"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": {
|
|
"@ebay/nice-modal-react": "^1.2.10",
|
|
"@tryghost/timezone-data": "0.3.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"validator": "7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-essentials": "7.0.18",
|
|
"@storybook/addon-interactions": "7.0.18",
|
|
"@storybook/addon-links": "7.0.18",
|
|
"@storybook/addon-styling": "1.0.8",
|
|
"@storybook/blocks": "7.0.18",
|
|
"@storybook/react": "7.0.18",
|
|
"@storybook/react-vite": "7.0.18",
|
|
"@storybook/testing-library": "0.1.0",
|
|
"@tailwindcss/forms": "0.5.3",
|
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
"@types/react": "18.0.28",
|
|
"@types/react-dom": "18.0.11",
|
|
"@types/validator": "^13.7.17",
|
|
"@typescript-eslint/eslint-plugin": "5.57.1",
|
|
"@typescript-eslint/parser": "5.57.1",
|
|
"@vitejs/plugin-react": "4.0.0",
|
|
"autoprefixer": "10.4.14",
|
|
"concurrently": "8.1.0",
|
|
"eslint": "8.38.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-plugin-ghost": "3.1.0",
|
|
"eslint-plugin-react": "7.32.2",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.3.4",
|
|
"eslint-plugin-tailwindcss": "3.11.0",
|
|
"postcss": "8.4.24",
|
|
"postcss-import": "^15.1.0",
|
|
"prop-types": "15.8.1",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"storybook": "7.0.18",
|
|
"stylelint": "15.6.1",
|
|
"tailwindcss": "3.3.2",
|
|
"typescript": "5.0.4",
|
|
"vite": "4.3.9",
|
|
"vite-plugin-svgr": "3.2.0",
|
|
"vitest": "0.31.4"
|
|
}
|
|
}
|