2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2023-05-17 18:56:28 +03:00
|
|
|
"version": "2.32.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",
|
2023-04-06 21:18:53 +03:00
|
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
|
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",
|
2023-05-25 15:59:22 +03:00
|
|
|
"plugin:ghost/browser",
|
|
|
|
"plugin:i18next/recommended"
|
2020-05-01 10:35:23 +03:00
|
|
|
],
|
|
|
|
"plugins": [
|
2023-05-25 15:59:22 +03:00
|
|
|
"ghost",
|
|
|
|
"i18next"
|
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-05-02 20:59:20 +03:00
|
|
|
"@babel/eslint-parser": "7.21.8",
|
2023-05-25 15:59:22 +03:00
|
|
|
"@doist/react-interpolate": "0.4.1",
|
2023-05-30 09:56:13 +03:00
|
|
|
"@sentry/react": "7.53.1",
|
|
|
|
"@sentry/tracing": "7.53.1",
|
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",
|
2023-04-20 21:40:44 +03:00
|
|
|
"@vitejs/plugin-react": "4.0.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-05-15 05:17:01 +03:00
|
|
|
"cross-fetch": "3.1.6",
|
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",
|
2023-05-25 15:59:22 +03:00
|
|
|
"eslint-plugin-i18next": "^6.0.1",
|
2023-05-29 05:07:32 +03:00
|
|
|
"jsdom": "22.1.0",
|
2023-03-14 17:45:27 +03:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2023-05-26 16:05:53 +03:00
|
|
|
"vite": "4.3.9",
|
2023-05-09 00:36:56 +03:00
|
|
|
"vite-plugin-css-injected-by-js": "3.1.1",
|
2023-05-11 15:40:31 +03:00
|
|
|
"vite-plugin-svgr": "3.2.0",
|
2023-05-30 17:59:06 +03:00
|
|
|
"vitest": "0.31.2"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|