2020-03-24 16:07:04 +03:00
|
|
|
{
|
2020-09-23 21:04:54 +03:00
|
|
|
"name": "@tryghost/portal",
|
2021-02-15 19:57:03 +03:00
|
|
|
"version": "1.0.0-rc.6",
|
2020-03-24 16:07:38 +03:00
|
|
|
"license": "MIT",
|
2020-09-24 10:06:24 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/TryGhost/Portal.git"
|
|
|
|
},
|
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": {
|
2021-02-10 21:45:53 +03:00
|
|
|
"@testing-library/jest-dom": "5.11.9",
|
2021-02-11 11:01:12 +03:00
|
|
|
"@testing-library/react": "11.2.5",
|
2021-02-15 20:00:00 +03:00
|
|
|
"@testing-library/user-event": "12.7.1",
|
2020-04-27 23:07:32 +03:00
|
|
|
"prop-types": "15.7.2",
|
|
|
|
"react": "16.13.1",
|
|
|
|
"react-dom": "16.13.1",
|
2021-02-16 21:44:55 +03:00
|
|
|
"react-scripts": "3.4.4"
|
2020-03-24 16:07:04 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"start": "react-scripts start",
|
2020-03-24 16:19:04 +03:00
|
|
|
"build": "npm run build:combined && npm run build:bundle",
|
|
|
|
"build:combined": "node ./scripts/build-combined.js",
|
|
|
|
"build:bundle": "webpack --config webpack.config.js",
|
2020-06-06 22:56:41 +03:00
|
|
|
"test": "react-scripts test --env=jsdom-fourteen",
|
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",
|
|
|
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} master --follow-tags; fi",
|
2020-04-20 19:40:58 +03:00
|
|
|
"posttest": "yarn lint",
|
|
|
|
"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"
|
|
|
|
]
|
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
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-02-09 11:44:58 +03:00
|
|
|
"eslint-plugin-ghost": "2.0.0",
|
2020-04-27 23:07:32 +03:00
|
|
|
"rewire": "5.0.0",
|
2020-06-18 15:54:58 +03:00
|
|
|
"webpack-cli": "3.3.12"
|
2020-03-24 16:07:04 +03:00
|
|
|
}
|
|
|
|
}
|