mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
103 lines
2.7 KiB
JSON
103 lines
2.7 KiB
JSON
{
|
|
"name": "@tryghost/portal",
|
|
"version": "2.24.1",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/TryGhost/Ghost.git"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"unpkg": "umd/portal.min.js",
|
|
"files": [
|
|
"umd/",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/react": "7.30.0",
|
|
"@sentry/tracing": "7.30.0",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-scripts": "5.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "BROWSER=none react-scripts start",
|
|
"start:combined": "BROWSER=none node ./scripts/start-combined.js",
|
|
"start:dev": "node ./scripts/start-mode.js",
|
|
"dev": "node ./scripts/dev-mode.js",
|
|
"build": "npm run build:combined",
|
|
"build:original": "react-scripts build",
|
|
"build:combined": "node ./scripts/build-combined.js",
|
|
"build:bundle": "webpack --config webpack.config.js",
|
|
"test": "react-scripts test",
|
|
"test:ci": "yarn test --watchAll=false --coverage",
|
|
"test:unit": "yarn test:ci",
|
|
"eject": "react-scripts eject",
|
|
"lint": "eslint src --ext .js --cache",
|
|
"preship": "yarn lint",
|
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && yarn publish . --tag $npm_package_version",
|
|
"posttest": "yarn lint",
|
|
"analyze": "source-map-explorer 'umd/*.js'",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"plugin:ghost/browser"
|
|
],
|
|
"plugins": [
|
|
"ghost"
|
|
],
|
|
"rules": {
|
|
"import/no-webpack-loader-syntax": "off"
|
|
}
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"jest": {
|
|
"coverageReporters": [
|
|
"cobertura",
|
|
"text-summary",
|
|
"html"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^!!raw-loader!.*": "jest-raw-loader"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"chalk": "4.1.2",
|
|
"chokidar": "3.5.3",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"jest-raw-loader": "1.0.1",
|
|
"minimist": "1.2.7",
|
|
"ora": "5.4.1",
|
|
"raw-loader": "4.0.2",
|
|
"rewire": "6.0.0",
|
|
"serve-handler": "6.1.5",
|
|
"source-map-explorer": "2.5.3",
|
|
"webpack-cli": "4.10.0"
|
|
},
|
|
"resolutions": {
|
|
"//": "See https://github.com/facebook/create-react-app/issues/11773",
|
|
"react-error-overlay": "6.0.11"
|
|
}
|
|
}
|