2020-03-24 08:07:04 -05:00
|
|
|
{
|
2020-09-23 13:04:54 -05:00
|
|
|
"name": "@tryghost/portal",
|
2024-10-20 08:22:46 -05:00
|
|
|
"version": "2.45.0",
|
2020-03-24 08:07:38 -05:00
|
|
|
"license": "MIT",
|
2020-09-24 02:06:24 -05:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-10-05 03:22:17 -05:00
|
|
|
"url": "git://github.com/TryGhost/Ghost.git"
|
2020-09-24 02:06:24 -05:00
|
|
|
},
|
2020-03-24 08:07:38 -05:00
|
|
|
"author": "Ghost Foundation",
|
2020-04-20 11:40:58 -05:00
|
|
|
"files": [
|
|
|
|
"umd/",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
],
|
2020-04-28 13:08:24 -05:00
|
|
|
"publishConfig": {
|
2020-04-30 07:07:29 -05:00
|
|
|
"access": "public",
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
2020-04-28 13:08:24 -05:00
|
|
|
},
|
2020-03-24 08:07:04 -05:00
|
|
|
"scripts": {
|
2023-06-02 04:32:13 -05:00
|
|
|
"dev": "concurrently \"yarn preview -l silent\" \"yarn build:watch\"",
|
2023-03-14 09:45:27 -05:00
|
|
|
"build": "vite build",
|
|
|
|
"build:watch": "vite build --watch",
|
|
|
|
"preview": "vite preview",
|
|
|
|
"test": "vitest run",
|
|
|
|
"test:ci": "yarn test --coverage",
|
2022-10-05 03:17:01 -05:00
|
|
|
"test:unit": "yarn test:ci",
|
2020-04-01 06:43:42 -05:00
|
|
|
"lint": "eslint src --ext .js --cache",
|
2020-05-01 02:32:27 -05:00
|
|
|
"preship": "yarn lint",
|
2023-11-30 08:16:56 -05: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 13:18:53 -05:00
|
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
|
2020-04-20 11:40:58 -05:00
|
|
|
"prepublishOnly": "yarn build"
|
2020-03-24 08:07:04 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2023-07-27 02:49:51 -05:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaVersion": 2022
|
|
|
|
},
|
2020-05-01 02:35:23 -05:00
|
|
|
"extends": [
|
2023-05-25 07:59:22 -05:00
|
|
|
"plugin:ghost/browser",
|
2023-07-27 02:49:51 -05:00
|
|
|
"plugin:i18next/recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime"
|
2020-05-01 02:35:23 -05:00
|
|
|
],
|
|
|
|
"plugins": [
|
2023-05-25 07:59:22 -05:00
|
|
|
"ghost",
|
|
|
|
"i18next"
|
2023-07-27 02:49:51 -05:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2020-03-24 08:07:04 -05: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 08:19:04 -05:00
|
|
|
},
|
2021-09-30 06:17:09 -05:00
|
|
|
"jest": {
|
2021-10-05 00:31:20 -05:00
|
|
|
"coverageReporters": [
|
2021-10-20 05:06:44 -05:00
|
|
|
"cobertura",
|
2021-10-05 00:31:20 -05:00
|
|
|
"text-summary",
|
|
|
|
"html"
|
2023-03-14 09:45:27 -05:00
|
|
|
]
|
2021-09-30 06:17:09 -05:00
|
|
|
},
|
2020-03-24 08:19:04 -05:00
|
|
|
"devDependencies": {
|
2023-11-09 02:28:46 -05:00
|
|
|
"@babel/eslint-parser": "7.23.3",
|
2024-06-11 13:16:59 -05:00
|
|
|
"@doist/react-interpolate": "1.1.1",
|
2024-10-15 07:43:20 -05:00
|
|
|
"@sentry/react": "7.119.2",
|
2023-09-01 08:32:29 -05:00
|
|
|
"@testing-library/jest-dom": "5.17.0",
|
2023-03-14 09:45:27 -05:00
|
|
|
"@testing-library/react": "12.1.5",
|
|
|
|
"@tryghost/i18n": "0.0.0",
|
2023-12-04 13:17:20 -05:00
|
|
|
"@vitejs/plugin-react": "4.2.1",
|
2023-12-13 03:11:05 -05:00
|
|
|
"@vitest/coverage-v8": "0.34.3",
|
|
|
|
"@vitest/ui": "0.34.3",
|
2023-10-18 20:49:56 -05:00
|
|
|
"concurrently": "8.2.2",
|
2023-07-03 14:19:04 -05:00
|
|
|
"cross-fetch": "4.0.0",
|
2023-07-24 07:43:23 -05:00
|
|
|
"eslint-plugin-i18next": "6.0.3",
|
2024-08-25 21:35:37 -05:00
|
|
|
"jsdom": "24.1.3",
|
2023-03-14 09:45:27 -05:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2024-04-16 02:11:32 -05:00
|
|
|
"vite": "4.5.3",
|
2023-08-09 04:15:28 -05:00
|
|
|
"vite-plugin-css-injected-by-js": "3.3.0",
|
2023-09-20 01:31:02 -05:00
|
|
|
"vite-plugin-svgr": "3.3.0",
|
2023-12-13 03:11:05 -05:00
|
|
|
"vitest": "0.34.3"
|
2020-03-24 08:07:04 -05:00
|
|
|
}
|
|
|
|
}
|