2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2023-08-29 10:47:40 +03:00
|
|
|
"version": "2.34.4",
|
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",
|
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": {
|
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-08-29 09:38:51 +03:00
|
|
|
"@babel/eslint-parser": "7.22.11",
|
2023-05-25 15:59:22 +03:00
|
|
|
"@doist/react-interpolate": "0.4.1",
|
2023-08-28 17:30:20 +03:00
|
|
|
"@sentry/react": "7.65.0",
|
|
|
|
"@sentry/tracing": "7.65.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",
|
2023-08-09 12:29:07 +03:00
|
|
|
"@vitejs/plugin-react": "4.0.4",
|
2023-07-11 16:11:02 +03:00
|
|
|
"@vitest/coverage-v8": "0.33.0",
|
|
|
|
"@vitest/ui": "0.33.0",
|
2023-08-22 11:00:46 +03:00
|
|
|
"concurrently": "8.2.1",
|
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",
|
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-08-09 10:55:48 +03:00
|
|
|
"vite": "4.4.9",
|
2023-08-09 12:15:28 +03:00
|
|
|
"vite-plugin-css-injected-by-js": "3.3.0",
|
2023-05-11 15:40:31 +03:00
|
|
|
"vite-plugin-svgr": "3.2.0",
|
2023-08-29 13:31:09 +03:00
|
|
|
"vitest": "0.34.3"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|