mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
73ba799d17
refs https://ghost.slack.com/archives/CFH10N79S/p1686042479311309?thread_ts=1679079897.164069&cid=CFH10N79S - the current build workflow wasn't generating the Tailwind compiled CSS so we needed to amend the commands to do so
99 lines
2.7 KiB
JSON
99 lines
2.7 KiB
JSON
{
|
|
"name": "@tryghost/sodo-search",
|
|
"version": "1.1.0",
|
|
"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": {
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@tryghost/content-api": "1.11.7",
|
|
"flexsearch": "0.7.21",
|
|
"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",
|
|
"tailwind": "yarn tailwind:base --watch ",
|
|
"tailwind:base": "npx tailwindcss -i ./src/index.css -o ./umd/main.css --minify",
|
|
"dev": "concurrently \"node ./scripts/dev-mode.js\" \"yarn tailwind\"",
|
|
"build": "npm run build:combined && npm run tailwind:base",
|
|
"build:original": "react-scripts build",
|
|
"build:combined": "node ./scripts/build-combined.js",
|
|
"build:bundle": "webpack --config webpack.config.js",
|
|
"test:ui": "react-scripts test",
|
|
"test:unit": "yarn test",
|
|
"test": "yarn test:ui --watchAll=false --coverage",
|
|
"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",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest",
|
|
"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"
|
|
]
|
|
},
|
|
"jest": {
|
|
"coverageReporters": [
|
|
"cobertura",
|
|
"text-summary",
|
|
"html"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "10.4.14",
|
|
"chalk": "4.1.2",
|
|
"chokidar": "3.5.3",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"eslint-plugin-ghost": "3.1.0",
|
|
"minimist": "1.2.8",
|
|
"nock": "13.3.0",
|
|
"ora": "5.4.1",
|
|
"postcss": "8.4.24",
|
|
"rewire": "6.0.0",
|
|
"serve-handler": "6.1.5",
|
|
"tailwindcss": "3.3.2",
|
|
"webpack-cli": "3.3.12"
|
|
},
|
|
"resolutions": {
|
|
"//": "See https://github.com/facebook/create-react-app/issues/11773",
|
|
"react-error-overlay": "6.0.11"
|
|
}
|
|
}
|