2019-09-02 14:29:19 +03:00
|
|
|
{
|
|
|
|
"repository": {},
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
2020-06-03 10:04:05 +03:00
|
|
|
"deploy": "$(npm bin)/webpack --mode production",
|
|
|
|
"watch": "$(npm bin)/webpack --mode development --watch"
|
2019-09-02 14:29:19 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-08-17 16:16:14 +03:00
|
|
|
"@babel/core": "^7.11.1",
|
|
|
|
"@babel/preset-env": "^7.11.0",
|
|
|
|
"@babel/preset-react": "^7.10.4",
|
2020-11-19 15:24:08 +03:00
|
|
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
|
|
"@tailwindcss/forms": "^0.2.1",
|
|
|
|
"@tailwindcss/typography": "^0.3.1",
|
2020-08-17 16:16:14 +03:00
|
|
|
"abortcontroller-polyfill": "^1.5.0",
|
2020-11-16 16:38:44 +03:00
|
|
|
"alpinejs": "^2.7.3",
|
2020-08-17 16:16:14 +03:00
|
|
|
"autoprefixer": "^9.8.6",
|
2020-04-21 14:03:33 +03:00
|
|
|
"babel-loader": "^8.1.0",
|
2020-07-02 11:21:59 +03:00
|
|
|
"chart.js": "^2.9.3",
|
2020-08-17 16:16:14 +03:00
|
|
|
"copy-webpack-plugin": "^6.0.3",
|
|
|
|
"css-loader": "^3.6.0",
|
2020-07-02 11:21:59 +03:00
|
|
|
"datamaps": "^0.5.9",
|
2020-01-20 12:37:29 +03:00
|
|
|
"mini-css-extract-plugin": "^0.8.2",
|
2019-09-02 14:29:19 +03:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
2020-07-02 11:21:59 +03:00
|
|
|
"phoenix": "file:../deps/phoenix",
|
|
|
|
"phoenix_html": "file:../deps/phoenix_html",
|
2020-11-19 15:24:08 +03:00
|
|
|
"postcss": "^7.0.35",
|
|
|
|
"postcss-loader": "^4.0.4",
|
2020-07-02 11:21:59 +03:00
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
2020-08-17 16:16:14 +03:00
|
|
|
"react-flatpickr": "^3.10.5",
|
2020-07-14 16:52:26 +03:00
|
|
|
"react-flip-move": "^3.0.4",
|
2020-08-17 16:16:14 +03:00
|
|
|
"react-router-dom": "^5.2.0",
|
2020-08-13 13:45:18 +03:00
|
|
|
"react-transition-group": "^4.4.1",
|
2020-11-19 15:24:08 +03:00
|
|
|
"tailwindcss": "^2.0.1-compat",
|
2020-11-26 11:37:16 +03:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
2020-08-17 16:16:14 +03:00
|
|
|
"url-search-params-polyfill": "^8.0.0",
|
2019-09-02 14:29:19 +03:00
|
|
|
"webpack": "4.39.2",
|
2020-08-17 16:16:14 +03:00
|
|
|
"webpack-cli": "^3.3.12"
|
Add eslint, stylelint, prettier, and pre-commit (#484)
- 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.
2020-12-23 11:45:53 +03:00
|
|
|
},
|
|
|
|
"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"
|
2019-09-02 14:29:19 +03:00
|
|
|
}
|
|
|
|
}
|