2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2023-04-06 21:16:06 +03:00
|
|
|
"version": "2.28.0",
|
2020-03-24 16:07:38 +03:00
|
|
|
"license": "MIT",
|
2020-09-24 10:06:24 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-10-05 11:22:17 +03:00
|
|
|
"url": "git://github.com/TryGhost/Ghost.git"
|
2020-09-24 10:06:24 +03:00
|
|
|
},
|
2020-03-24 16:07:38 +03:00
|
|
|
"author": "Ghost Foundation",
|
2020-04-20 19:40:58 +03:00
|
|
|
"files": [
|
|
|
|
"umd/",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
],
|
2020-04-28 21:08:24 +03:00
|
|
|
"publishConfig": {
|
2020-04-30 15:07:29 +03:00
|
|
|
"access": "public",
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
2020-04-28 21:08:24 +03:00
|
|
|
},
|
2020-03-24 16:07:04 +03:00
|
|
|
"scripts": {
|
2023-03-14 17:45:27 +03:00
|
|
|
"dev": "concurrently \"vite\" \"yarn build:watch\"",
|
|
|
|
"build": "vite build",
|
|
|
|
"build:watch": "vite build --watch",
|
|
|
|
"preview": "vite preview",
|
|
|
|
"test": "vitest run",
|
|
|
|
"test:ci": "yarn test --coverage",
|
2022-10-05 11:17:01 +03:00
|
|
|
"test:unit": "yarn test:ci",
|
2020-04-01 14:43:42 +03:00
|
|
|
"lint": "eslint src --ext .js --cache",
|
2020-05-01 10:32:27 +03:00
|
|
|
"preship": "yarn lint",
|
2022-10-05 11:43:09 +03:00
|
|
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
2022-10-05 12:47:00 +03:00
|
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && yarn publish . --tag $npm_package_version",
|
2020-04-20 19:40:58 +03:00
|
|
|
"prepublishOnly": "yarn build"
|
2020-03-24 16:07:04 +03:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2020-05-01 10:35:23 +03:00
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"plugin:ghost/browser"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"ghost"
|
2023-03-14 17:45:27 +03:00
|
|
|
]
|
2020-03-24 16:07:04 +03:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2020-03-24 16:19:04 +03:00
|
|
|
},
|
2021-09-30 14:17:09 +03:00
|
|
|
"jest": {
|
2021-10-05 08:31:20 +03:00
|
|
|
"coverageReporters": [
|
2021-10-20 13:06:44 +03:00
|
|
|
"cobertura",
|
2021-10-05 08:31:20 +03:00
|
|
|
"text-summary",
|
|
|
|
"html"
|
2023-03-14 17:45:27 +03:00
|
|
|
]
|
2021-09-30 14:17:09 +03:00
|
|
|
},
|
2020-03-24 16:19:04 +03:00
|
|
|
"devDependencies": {
|
2023-03-14 17:45:27 +03:00
|
|
|
"@babel/eslint-parser": "7.21.3",
|
2023-04-05 18:51:33 +03:00
|
|
|
"@sentry/react": "7.47.0",
|
|
|
|
"@sentry/tracing": "7.47.0",
|
2023-03-14 17:45:27 +03:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
|
|
"@testing-library/react": "12.1.5",
|
|
|
|
"@tryghost/i18n": "0.0.0",
|
|
|
|
"@vitejs/plugin-react": "3.1.0",
|
2023-04-05 14:51:33 +03:00
|
|
|
"@vitest/coverage-c8": "0.29.8",
|
|
|
|
"@vitest/ui": "0.29.8",
|
2023-04-05 11:03:19 +03:00
|
|
|
"concurrently": "8.0.1",
|
2023-03-14 17:45:27 +03:00
|
|
|
"cross-fetch": "3.1.5",
|
2023-04-05 15:53:35 +03:00
|
|
|
"eslint": "8.37.0",
|
2023-03-14 17:45:27 +03:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
|
|
|
"jsdom": "21.1.1",
|
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2023-03-20 17:11:32 +03:00
|
|
|
"vite": "4.2.1",
|
2023-03-14 17:45:27 +03:00
|
|
|
"vite-plugin-css-injected-by-js": "3.1.0",
|
|
|
|
"vite-plugin-svgr": "2.4.0",
|
2023-04-05 14:51:33 +03:00
|
|
|
"vitest": "0.29.8"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|