mirror of
https://github.com/plausible/analytics.git
synced 2024-12-22 00:51:36 +03:00
e95ff80c3d
- When you try to commit, Pre-commit will run checks for all three, if installed, _only_ on staged files, and prevent committing if the linters are unhappy. - Several eslint rules that generate a lot of errors are disabled for now. That's to allow a more gradual transition, so you won't change 1 line and be told to fix 100 other lines (but maybe like 20 because there are still a lot of rules enabled). - Prettier is set to require pragma. That's also to allow a more gradual transition. As each file is tidied up, run Prettier on it, and it'll add a special comment that tells it that it's now responsible for keeping that one tidy.
55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"repository": {},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"deploy": "$(npm bin)/webpack --mode production",
|
|
"watch": "$(npm bin)/webpack --mode development --watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.11.1",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
"@tailwindcss/forms": "^0.2.1",
|
|
"@tailwindcss/typography": "^0.3.1",
|
|
"abortcontroller-polyfill": "^1.5.0",
|
|
"alpinejs": "^2.7.3",
|
|
"autoprefixer": "^9.8.6",
|
|
"babel-loader": "^8.1.0",
|
|
"chart.js": "^2.9.3",
|
|
"copy-webpack-plugin": "^6.0.3",
|
|
"css-loader": "^3.6.0",
|
|
"datamaps": "^0.5.9",
|
|
"mini-css-extract-plugin": "^0.8.2",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"phoenix": "file:../deps/phoenix",
|
|
"phoenix_html": "file:../deps/phoenix_html",
|
|
"postcss": "^7.0.35",
|
|
"postcss-loader": "^4.0.4",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-flatpickr": "^3.10.5",
|
|
"react-flip-move": "^3.0.4",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-transition-group": "^4.4.1",
|
|
"tailwindcss": "^2.0.1-compat",
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
"url-search-params-polyfill": "^8.0.0",
|
|
"webpack": "4.39.2",
|
|
"webpack-cli": "^3.3.12"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-airbnb": "^18.2.0",
|
|
"eslint-config-prettier": "^7.0.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-prettier": "^3.3.0",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"stylelint": "^13.8.0",
|
|
"stylelint-config-prettier": "^8.0.2",
|
|
"stylelint-config-standard": "^20.0.0"
|
|
}
|
|
}
|