2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2024-08-12 10:41:39 +03:00
|
|
|
"version": "2.38.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-06-02 12:32:13 +03:00
|
|
|
"dev": "concurrently \"yarn preview -l silent\" \"yarn build:watch\"",
|
2023-03-14 17:45:27 +03:00
|
|
|
"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",
|
2023-11-30 16:16:56 +03:00
|
|
|
"ship": "STATUS=$(git status --porcelain .); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; else echo \"Uncommitted changes found.\" && exit 1; 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": {
|
2023-07-27 10:49:51 +03:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaVersion": 2022
|
|
|
|
},
|
2020-05-01 10:35:23 +03:00
|
|
|
"extends": [
|
2023-05-25 15:59:22 +03:00
|
|
|
"plugin:ghost/browser",
|
2023-07-27 10:49:51 +03:00
|
|
|
"plugin:i18next/recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime"
|
2020-05-01 10:35:23 +03:00
|
|
|
],
|
|
|
|
"plugins": [
|
2023-05-25 15:59:22 +03:00
|
|
|
"ghost",
|
|
|
|
"i18next"
|
2023-07-27 10:49:51 +03:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
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-11-09 10:28:46 +03:00
|
|
|
"@babel/eslint-parser": "7.23.3",
|
2024-06-11 21:16:59 +03:00
|
|
|
"@doist/react-interpolate": "1.1.1",
|
2024-08-14 16:39:58 +03:00
|
|
|
"@sentry/react": "7.119.0",
|
2024-05-08 19:17:41 +03:00
|
|
|
"@sentry/tracing": "7.114.0",
|
2023-09-01 16:32:29 +03:00
|
|
|
"@testing-library/jest-dom": "5.17.0",
|
2023-03-14 17:45:27 +03:00
|
|
|
"@testing-library/react": "12.1.5",
|
|
|
|
"@tryghost/i18n": "0.0.0",
|
2023-12-04 21:17:20 +03:00
|
|
|
"@vitejs/plugin-react": "4.2.1",
|
2023-12-13 11:11:05 +03:00
|
|
|
"@vitest/coverage-v8": "0.34.3",
|
|
|
|
"@vitest/ui": "0.34.3",
|
2023-10-19 04:49:56 +03:00
|
|
|
"concurrently": "8.2.2",
|
2023-07-03 22:19:04 +03:00
|
|
|
"cross-fetch": "4.0.0",
|
2023-07-24 15:43:23 +03:00
|
|
|
"eslint-plugin-i18next": "6.0.3",
|
2024-07-22 03:12:53 +03:00
|
|
|
"jsdom": "24.1.1",
|
2023-03-14 17:45:27 +03:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2024-04-16 10:11:32 +03:00
|
|
|
"vite": "4.5.3",
|
2023-08-09 12:15:28 +03:00
|
|
|
"vite-plugin-css-injected-by-js": "3.3.0",
|
2023-09-20 09:31:02 +03:00
|
|
|
"vite-plugin-svgr": "3.3.0",
|
2023-12-13 11:11:05 +03:00
|
|
|
"vitest": "0.34.3"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|