2022-07-04 16:27:40 +03:00
|
|
|
{
|
2022-07-06 11:16:36 +03:00
|
|
|
"name": "@tryghost/sodo-search",
|
2022-07-25 19:59:57 +03:00
|
|
|
"version": "1.1.0",
|
2022-07-04 16:36:49 +03:00
|
|
|
"license": "MIT",
|
2022-07-06 11:16:36 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-03-17 12:50:25 +03:00
|
|
|
"url": "git://github.com/TryGhost/Ghost.git"
|
2022-07-06 11:16:36 +03:00
|
|
|
},
|
2022-07-04 16:36:49 +03:00
|
|
|
"author": "Ghost Foundation",
|
2022-07-06 11:16:36 +03:00
|
|
|
"files": [
|
|
|
|
"umd/",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
],
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public",
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
|
|
|
},
|
2022-07-04 16:27:40 +03:00
|
|
|
"dependencies": {
|
2023-03-17 13:29:23 +03:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2023-03-17 22:50:20 +03:00
|
|
|
"@testing-library/react": "12.1.5",
|
2023-03-17 13:29:23 +03:00
|
|
|
"@testing-library/user-event": "14.4.3",
|
|
|
|
"@tryghost/content-api": "1.11.7",
|
2023-06-23 15:50:22 +03:00
|
|
|
"flexsearch": "0.7.31",
|
2022-07-04 16:41:14 +03:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2023-03-17 11:25:39 +03:00
|
|
|
"react-scripts": "5.0.1"
|
2022-07-04 16:27:40 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-07-04 16:41:14 +03:00
|
|
|
"start": "BROWSER=none react-scripts start",
|
|
|
|
"start:combined": "BROWSER=none node ./scripts/start-combined.js",
|
|
|
|
"start:dev": "node ./scripts/start-mode.js",
|
2023-06-06 13:19:40 +03:00
|
|
|
"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",
|
2022-07-04 16:41:14 +03:00
|
|
|
"build:original": "react-scripts build",
|
|
|
|
"build:combined": "node ./scripts/build-combined.js",
|
|
|
|
"build:bundle": "webpack --config webpack.config.js",
|
|
|
|
"test:ui": "react-scripts test",
|
2023-03-17 12:48:25 +03:00
|
|
|
"test:unit": "yarn test",
|
2022-07-04 16:55:24 +03:00
|
|
|
"test": "yarn test:ui --watchAll=false --coverage",
|
2022-07-04 16:41:14 +03:00
|
|
|
"eject": "react-scripts eject",
|
|
|
|
"lint": "eslint src --ext .js --cache",
|
|
|
|
"preship": "yarn lint",
|
2023-03-17 12:50:25 +03:00
|
|
|
"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",
|
2022-07-04 16:41:14 +03:00
|
|
|
"prepublishOnly": "yarn build"
|
2022-07-04 16:27:40 +03:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
2022-07-04 16:41:14 +03:00
|
|
|
"react-app/jest",
|
|
|
|
"plugin:ghost/browser"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"ghost"
|
2022-07-04 16:27:40 +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"
|
|
|
|
]
|
2022-07-04 16:41:14 +03:00
|
|
|
},
|
2022-07-06 11:16:36 +03:00
|
|
|
"jest": {
|
|
|
|
"coverageReporters": [
|
|
|
|
"cobertura",
|
|
|
|
"text-summary",
|
|
|
|
"html"
|
|
|
|
]
|
|
|
|
},
|
2022-07-04 16:41:14 +03:00
|
|
|
"devDependencies": {
|
2023-03-17 13:29:23 +03:00
|
|
|
"autoprefixer": "10.4.14",
|
2022-07-04 16:41:14 +03:00
|
|
|
"chalk": "4.1.2",
|
2023-03-17 13:29:23 +03:00
|
|
|
"chokidar": "3.5.3",
|
2023-04-07 14:16:42 +03:00
|
|
|
"copy-webpack-plugin": "11.0.0",
|
2023-03-17 13:29:23 +03:00
|
|
|
"minimist": "1.2.8",
|
2023-07-11 16:11:02 +03:00
|
|
|
"nock": "13.3.1",
|
2022-07-04 16:41:14 +03:00
|
|
|
"ora": "5.4.1",
|
2023-07-21 15:18:36 +03:00
|
|
|
"postcss": "8.4.27",
|
2022-07-04 16:41:14 +03:00
|
|
|
"rewire": "6.0.0",
|
2023-03-17 13:29:23 +03:00
|
|
|
"serve-handler": "6.1.5",
|
2023-07-14 09:41:55 +03:00
|
|
|
"tailwindcss": "3.3.3",
|
2023-06-23 08:21:59 +03:00
|
|
|
"webpack-cli": "5.1.4"
|
2022-07-04 16:41:14 +03:00
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"//": "See https://github.com/facebook/create-react-app/issues/11773",
|
2023-03-17 13:34:04 +03:00
|
|
|
"react-error-overlay": "6.0.11"
|
2022-07-04 16:27:40 +03:00
|
|
|
}
|
|
|
|
}
|