2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2023-02-21 16:07:44 +03:00
|
|
|
"version": "2.25.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-09-23 21:04:54 +03:00
|
|
|
"unpkg": "umd/portal.min.js",
|
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
|
|
|
"dependencies": {
|
2023-03-10 11:55:35 +03:00
|
|
|
"@sentry/react": "7.42.0",
|
|
|
|
"@sentry/tracing": "7.42.0",
|
2022-10-05 07:21:13 +03:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
|
|
"@testing-library/react": "12.1.5",
|
|
|
|
"@testing-library/user-event": "14.4.3",
|
2023-02-27 12:47:22 +03:00
|
|
|
"@tryghost/i18n": "0.0.0",
|
2021-06-16 18:01:10 +03:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2022-10-05 07:17:06 +03:00
|
|
|
"react-scripts": "5.0.1"
|
2020-03-24 16:07:04 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-06-16 18:17:23 +03:00
|
|
|
"start": "BROWSER=none react-scripts start",
|
|
|
|
"start:combined": "BROWSER=none node ./scripts/start-combined.js",
|
2021-06-10 12:35:08 +03:00
|
|
|
"start:dev": "node ./scripts/start-mode.js",
|
2021-06-16 18:15:02 +03:00
|
|
|
"dev": "node ./scripts/dev-mode.js",
|
|
|
|
"build": "npm run build:combined",
|
|
|
|
"build:original": "react-scripts build",
|
2020-03-24 16:19:04 +03:00
|
|
|
"build:combined": "node ./scripts/build-combined.js",
|
2021-06-16 18:25:42 +03:00
|
|
|
"test": "react-scripts test",
|
2021-09-30 14:17:09 +03:00
|
|
|
"test:ci": "yarn test --watchAll=false --coverage",
|
2022-10-05 11:17:01 +03:00
|
|
|
"test:unit": "yarn test:ci",
|
2020-04-01 14:43:42 +03:00
|
|
|
"eject": "react-scripts eject",
|
|
|
|
"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",
|
2022-10-05 12:47:00 +03:00
|
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && yarn publish . --tag $npm_package_version",
|
2020-04-20 19:40:58 +03:00
|
|
|
"posttest": "yarn lint",
|
2021-06-16 18:15:02 +03:00
|
|
|
"analyze": "source-map-explorer 'umd/*.js'",
|
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",
|
|
|
|
"plugin:ghost/browser"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"ghost"
|
2022-11-22 10:11:21 +03:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-webpack-loader-syntax": "off"
|
|
|
|
}
|
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"
|
2022-11-22 10:11:21 +03:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^!!raw-loader!.*": "jest-raw-loader"
|
|
|
|
}
|
2021-09-30 14:17:09 +03:00
|
|
|
},
|
2020-03-24 16:19:04 +03:00
|
|
|
"devDependencies": {
|
2021-11-02 08:46:05 +03:00
|
|
|
"chalk": "4.1.2",
|
2022-06-13 07:55:39 +03:00
|
|
|
"chokidar": "3.5.3",
|
2022-11-22 10:11:21 +03:00
|
|
|
"jest-raw-loader": "1.0.1",
|
2023-02-10 02:09:33 +03:00
|
|
|
"minimist": "1.2.8",
|
2021-06-22 13:22:53 +03:00
|
|
|
"ora": "5.4.1",
|
2022-11-22 10:11:21 +03:00
|
|
|
"raw-loader": "4.0.2",
|
2021-12-20 03:52:36 +03:00
|
|
|
"rewire": "6.0.0",
|
2022-11-02 02:24:05 +03:00
|
|
|
"serve-handler": "6.1.5",
|
2023-03-01 13:47:40 +03:00
|
|
|
"source-map-explorer": "2.5.3"
|
2022-01-17 20:54:34 +03:00
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"//": "See https://github.com/facebook/create-react-app/issues/11773",
|
2022-04-12 21:17:55 +03:00
|
|
|
"react-error-overlay": "6.0.11"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|