Ghost/ghost/portal/package.json
Rish 7fee47b9a7 Added yarn ship for publishing to npm/unpkg
refs https://github.com/TryGhost/members.js/issues/5

We use `yarn ship` across all our packages for publishing new versions.
2020-04-28 23:38:24 +05:30

59 lines
1.4 KiB
JSON

{
"name": "@tryghost/members-js",
"version": "0.2.1",
"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"
},
"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"
}
}