mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
1164bacd24
- adds auto compile for tailwind in dev mode
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|
"name": "comments-ui",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"repository": "git@github.com:TryGhost/comments-ui.git",
|
|
"author": "Ghost Foundation",
|
|
"dependencies": {
|
|
"@sentry/react": "^7.5.0",
|
|
"@testing-library/jest-dom": "5.16.2",
|
|
"@testing-library/react": "12.1.2",
|
|
"@testing-library/user-event": "14.0.0",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-scripts": "4.0.3",
|
|
"react-shadow": "^19.0.3"
|
|
},
|
|
"scripts": {
|
|
"start": "BROWSER=none react-scripts start",
|
|
"start:combined": "BROWSER=none node ./scripts/start-combined.js",
|
|
"start:dev": "PORT=4000 node ./scripts/start-mode.js",
|
|
"dev": "node ./scripts/dev-mode.js",
|
|
"build": "npm run build:combined",
|
|
"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": "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 publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi",
|
|
"posttest": "yarn lint",
|
|
"analyze": "source-map-explorer 'umd/*.js'",
|
|
"prepublishOnly": "yarn build",
|
|
"tailwind": "npx tailwindcss -i ./src/index.css -o ./public/main.css --watch"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"chalk": "4.1.2",
|
|
"chokidar": "3.5.2",
|
|
"copy-webpack-plugin": "6.4.1",
|
|
"eslint-plugin-ghost": "2.12.0",
|
|
"minimist": "1.2.5",
|
|
"ora": "5.4.1",
|
|
"rewire": "6.0.0",
|
|
"serve-handler": "6.1.3",
|
|
"source-map-explorer": "2.5.2",
|
|
"webpack-cli": "3.3.12"
|
|
},
|
|
"resolutions": {
|
|
"//": "See https://github.com/facebook/create-react-app/issues/11773",
|
|
"react-error-overlay": "6.0.9"
|
|
}
|
|
}
|