IOPaint/lama_cleaner/app/package.json
blessedcoolant 481e956c3a Launch and monitor both Python and JS during development
No longer need to restart python each time any change is made. nodemon will handle that now. Using concurrently because I found it to be better performant than run-p.
2022-03-25 07:31:59 +13:00

72 lines
2.3 KiB
JSON

{
"name": "lama-cleaner",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:8080",
"dependencies": {
"@headlessui/react": "^1.4.2",
"@heroicons/react": "^1.0.4",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.1",
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"autoprefixer": "10.x",
"cross-env": "7.x",
"delay-cli": "^1.1.0",
"npm-run-all": "4.x",
"postcss": "8.x",
"postcss-cli": "8.x",
"postcss-preset-env": "6.x",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"react-use": "^17.3.1",
"react-zoom-pan-pinch": "^2.1.3",
"tailwindcss": "2.x",
"typescript": "4.x"
},
"scripts": {
"dev:python": "nodemon --watch ../../* --exec python ../../main.py",
"dev:react": "run-p watch:css react-scripts:start",
"dev": "concurrently \"yarn dev:python\" \"yarn dev:react\"",
"build": "run-s build:css react-scripts:build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build:css": "cross-env TAILWIND_MODE=build NODE_ENV=production postcss src/styles/tailwind.css -o src/styles/index.css",
"watch:css": "cross-env TAILWIND_MODE=watch NODE_ENV=development postcss src/styles/tailwind.css -o src/styles/index.css --watch",
"react-scripts:start": "delay 5 && react-scripts start",
"react-scripts:build": "cross-env GENERATE_SOURCEMAP=false react-scripts build"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.1.0",
"concurrently": "^7.0.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"nodemon": "^2.0.15",
"prettier": "^2.4.1"
}
}