mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"name": "@tryghost/comments-ui",
|
|
"version": "0.17.3",
|
|
"license": "MIT",
|
|
"repository": "git@github.com:TryGhost/comments-ui.git",
|
|
"author": "Ghost Foundation",
|
|
"unpkg": "umd/comments-ui.umd.js",
|
|
"files": [
|
|
"umd/",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently \"yarn preview --host -l silent\" \"yarn build:watch\"",
|
|
"dev:test": "vite build && vite preview --port 7175",
|
|
"build": "vite build",
|
|
"build:watch": "vite build --watch",
|
|
"preview": "vite preview",
|
|
"test": "vitest run --coverage && yarn test:e2e",
|
|
"test:e2e": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
"test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=1000 yarn test:e2e --headed",
|
|
"test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
|
|
"lint": "eslint src --ext .js,.ts,.jsx,.tsx --cache",
|
|
"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"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "1.7.19",
|
|
"@tiptap/core": "2.6.0",
|
|
"@tiptap/extension-blockquote": "2.6.0",
|
|
"@tiptap/extension-document": "2.6.1",
|
|
"@tiptap/extension-hard-break": "2.6.0",
|
|
"@tiptap/extension-link": "2.6.0",
|
|
"@tiptap/extension-paragraph": "2.6.0",
|
|
"@tiptap/extension-placeholder": "2.6.1",
|
|
"@tiptap/extension-text": "2.6.0",
|
|
"@tiptap/pm": "2.6.0",
|
|
"@tiptap/react": "2.6.1",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-string-replace": "1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.46.1",
|
|
"@testing-library/jest-dom": "5.17.0",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/user-event": "14.5.2",
|
|
"@tryghost/i18n": "0.0.0",
|
|
"@vitejs/plugin-react": "4.2.1",
|
|
"@vitest/coverage-v8": "0.34.3",
|
|
"autoprefixer": "10.4.19",
|
|
"bson-objectid": "2.0.4",
|
|
"concurrently": "8.2.2",
|
|
"eslint-plugin-i18next": "6.0.3",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
"eslint-plugin-tailwindcss": "3.13.0",
|
|
"jsdom": "24.1.3",
|
|
"postcss": "8.4.39",
|
|
"tailwindcss": "3.4.12",
|
|
"vite": "4.5.3",
|
|
"vite-plugin-css-injected-by-js": "3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
}
|
|
}
|