130c9c3c6f
refs https://github.com/TryGhost/Toolbox/issues/400 - this package won't pass tests on Node 16 because of the use of `fetch`, but that's ok because we publish using Node 18 anyway - this switches the test command to just ensuring the package can build
87 lines
2.6 KiB
JSON
87 lines
2.6 KiB
JSON
{
|
|
"name": "@tryghost/comments-ui",
|
|
"version": "0.12.4",
|
|
"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 -l silent\" \"yarn build:watch\"",
|
|
"build": "vite build",
|
|
"build:watch": "vite build --watch",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:ci": "yarn test --coverage",
|
|
"test:unit": "yarn build",
|
|
"lint": "eslint src --ext .js --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.6.6",
|
|
"@sentry/react": "7.11.1",
|
|
"@tiptap/core": "2.0.0-beta.182",
|
|
"@tiptap/extension-blockquote": "2.0.0-beta.29",
|
|
"@tiptap/extension-document": "2.0.0-beta.17",
|
|
"@tiptap/extension-hard-break": "2.0.0-beta.33",
|
|
"@tiptap/extension-link": "2.0.0-beta.43",
|
|
"@tiptap/extension-paragraph": "2.0.0-beta.26",
|
|
"@tiptap/extension-placeholder": "2.0.0-beta.53",
|
|
"@tiptap/extension-text": "2.0.0-beta.17",
|
|
"@tiptap/react": "2.0.0-beta.114",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@vitejs/plugin-react": "4.0.1",
|
|
"@vitest/coverage-v8": "0.32.2",
|
|
"autoprefixer": "10.4.14",
|
|
"bson-objectid": "2.0.4",
|
|
"concurrently": "8.2.0",
|
|
"eslint": "8.43.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-plugin-ghost": "2.12.0",
|
|
"eslint-plugin-tailwindcss": "^3.6.0",
|
|
"jsdom": "22.1.0",
|
|
"postcss": "8.4.24",
|
|
"tailwindcss": "3.3.2",
|
|
"vite": "4.3.9",
|
|
"vite-plugin-css-injected-by-js": "3.1.1",
|
|
"vite-plugin-svgr": "3.2.0",
|
|
"vitest": "0.32.2"
|
|
},
|
|
"resolutions": {
|
|
"@tiptap/extension-bubble-menu": "2.0.0-beta.61",
|
|
"@tiptap/extension-floating-menu": "2.0.0-beta.56",
|
|
"prosemirror-state": "1.4.1",
|
|
"prosemirror-model": "1.18.1",
|
|
"prosemirror-transform": "1.7.0"
|
|
}
|
|
}
|