Ghost/ghost/portal/package.json
Rish 49606f8fdf Added explicit npm registry in publishConfig
no issue

The members-js package is published on npm and this ensures `yarn ship` attempts to push to correct registry instead of yarn registry in case not set globally.
2020-04-30 17:37:29 +05:30

60 lines
1.5 KiB
JSON

{
"name": "@tryghost/members-js",
"version": "0.2.3",
"license": "MIT",
"repository": "git@github.com:TryGhost/membersjs.git",
"author": "Ghost Foundation",
"unpkg": "umd/members.min.js",
"files": [
"umd/",
"LICENSE",
"README.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.5.0",
"@testing-library/user-event": "7.2.1",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "react-scripts start",
"build": "npm run build:combined && npm run build:bundle",
"build:combined": "node ./scripts/build-combined.js",
"build:bundle": "webpack --config webpack.config.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src --ext .js --cache",
"ship": "npm publish",
"posttest": "yarn lint",
"prepublishOnly": "yarn build"
},
"eslintConfig": {
"extends": ["react-app", "plugin:ghost/browser"],
"plugins": ["ghost"]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint-plugin-ghost": "1.3.0",
"rewire": "5.0.0",
"webpack-cli": "3.3.11"
}
}