2023-04-19 14:12:07 +03:00
|
|
|
{
|
|
|
|
"name": "@tryghost/announcement-bar",
|
2023-06-29 03:35:07 +03:00
|
|
|
"version": "1.1.7",
|
2023-04-19 14:12:07 +03:00
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/TryGhost/Ghost.git"
|
|
|
|
},
|
|
|
|
"author": "Ghost Foundation",
|
|
|
|
"files": [
|
|
|
|
"umd/",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
],
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public",
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@tryghost/content-api": "1.11.7",
|
2023-06-23 15:50:22 +03:00
|
|
|
"flexsearch": "0.7.31",
|
2023-04-19 14:12:07 +03:00
|
|
|
"react": "17.0.2",
|
2023-07-27 10:09:01 +03:00
|
|
|
"react-dom": "17.0.2"
|
2023-04-19 14:12:07 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-07-27 10:09:01 +03:00
|
|
|
"dev": "concurrently \"vite preview -l silent\" \"yarn build:watch\"",
|
|
|
|
"build": "vite build",
|
|
|
|
"build:watch": "vite build --watch",
|
|
|
|
"test": "vitest run",
|
|
|
|
"test:ci": "yarn test --coverage",
|
|
|
|
"test:unit": "yarn test:ci",
|
2023-04-19 14:12:07 +03:00
|
|
|
"lint": "eslint src --ext .js --cache",
|
|
|
|
"preship": "yarn lint",
|
|
|
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
2023-07-27 10:09:01 +03:00
|
|
|
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
|
2023-04-19 14:12:07 +03:00
|
|
|
"prepublishOnly": "yarn build"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2023-07-27 10:49:51 +03:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaVersion": 2022
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"plugin:ghost/browser",
|
|
|
|
"plugin:react/recommended"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"ghost"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2023-04-19 14:12:07 +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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"coverageReporters": [
|
|
|
|
"cobertura",
|
|
|
|
"text-summary",
|
|
|
|
"html"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-27 10:09:01 +03:00
|
|
|
"@vitejs/plugin-react": "4.0.3",
|
|
|
|
"vite": "4.4.7",
|
|
|
|
"vite-plugin-svgr": "3.2.0",
|
|
|
|
"vitest": "0.33.0"
|
2023-04-19 14:12:07 +03:00
|
|
|
}
|
|
|
|
}
|