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