108 lines
3.7 KiB
JSON
Executable File
108 lines
3.7 KiB
JSON
Executable File
{
|
|
"name": "react-template-esbuild",
|
|
"version": "1.0.0",
|
|
"license": "UNLICENSED",
|
|
"private": true,
|
|
"main": "webpack.config.babel.js",
|
|
"engines": {
|
|
"node": ">=16",
|
|
"yarn": "^1.22.5"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "yarn clean",
|
|
"bundle": "webpack --config webpack.config.babel.js",
|
|
"build": "cross-env NODE_ENV=production yarn bundle",
|
|
"build:nonprod": "cross-env ENV_CONFIGURATION=nonprod yarn build",
|
|
"build:prelive": "cross-env ENV_CONFIGURATION=prelive yarn build",
|
|
"build:live": "cross-env ENV_CONFIGURATION=production yarn build",
|
|
"start": "cross-env WEBPACK_IS_DEV_SERVER=true NODE_ENV=development webpack serve --config webpack.config.babel.js",
|
|
"clean": "rimraf dist",
|
|
"lint": "eslint src",
|
|
"profile": "cross-env NODE_ENV=production webpack --profile --json --config webpack.config.babel.js > ./dist/profile.json",
|
|
"perf:size": "yarn profile && webpack-bundle-analyzer ./dist/profile.json",
|
|
"perf:lint": "cross-env TIMING=1 yarn lint",
|
|
"perf:build": "cross-env MEASURE=1 yarn build"
|
|
},
|
|
"dependencies": {
|
|
"@date-io/date-fns": "1.3.13",
|
|
"@hookform/resolvers": "2.8.3",
|
|
"@types/i18n-js": "3.8.2",
|
|
"@types/js-cookie": "3.0.0",
|
|
"@types/react": "17.0.34",
|
|
"@types/react-dom": "17.0.11",
|
|
"@types/react-router-dom": "5.3.2",
|
|
"@types/sanitize-html": "2.5.0",
|
|
"classnames": "2.3.1",
|
|
"date-fns": "2.25.0",
|
|
"history": "5.1.0",
|
|
"html-react-parser": "1.4.0",
|
|
"i18n-js": "3.8.0",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-error-boundary": "3.1.4",
|
|
"react-hook-form": "7.18.0",
|
|
"react-hot-loader": "4.13.0",
|
|
"react-loader-spinner": "5.1.4",
|
|
"react-router-dom": "next",
|
|
"react-skeleton-css": "1.1.0",
|
|
"sanitize-html": "2.5.3",
|
|
"swr": "1.0.1",
|
|
"use-async-effect": "2.2.3",
|
|
"yup": "0.32.11"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.16.0",
|
|
"@babel/eslint-parser": "7.16.3",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/preset-env": "7.16.0",
|
|
"@babel/preset-react": "7.16.0",
|
|
"@babel/register": "7.16.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.1",
|
|
"@typescript-eslint/eslint-plugin": "5.2.0",
|
|
"@typescript-eslint/parser": "5.2.0",
|
|
"autoprefixer": "10.4.0",
|
|
"babel-plugin-import": "1.13.3",
|
|
"copy-webpack-plugin": "9.0.1",
|
|
"core-js": "3.19.1",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.5.1",
|
|
"dotenv-webpack": "7.0.3",
|
|
"esbuild-loader": "2.16.0",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-airbnb-base": "14.2.1",
|
|
"eslint-config-airbnb-typescript": "14.0.1",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-import-resolver-alias": "1.1.2",
|
|
"eslint-import-resolver-typescript": "2.5.0",
|
|
"eslint-plugin-import": "2.25.3",
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-plugin-react": "7.27.0",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
"eslint-webpack-plugin": "3.1.0",
|
|
"fast-sass-loader": "2.0.0",
|
|
"fork-ts-checker-webpack-plugin": "6.4.0",
|
|
"html-loader": "3.0.1",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"mini-css-extract-plugin": "2.4.4",
|
|
"path": "0.12.7",
|
|
"postcss": "8.3.11",
|
|
"postcss-loader": "6.2.0",
|
|
"postcss-preset-env": "6.7.0",
|
|
"prettier": "2.4.1",
|
|
"react-refresh": "0.11.0",
|
|
"rimraf": "3.0.2",
|
|
"sass": "1.43.4",
|
|
"speed-measure-webpack-plugin": "1.5.0",
|
|
"style-loader": "3.3.1",
|
|
"tsconfig-paths-webpack-plugin": "3.5.1",
|
|
"typescript": "4.4.4",
|
|
"webpack": "5.63.0",
|
|
"webpack-bundle-analyzer": "4.5.0",
|
|
"webpack-cli": "4.9.1",
|
|
"webpack-dev-server": "4.4.0",
|
|
"webpack-merge": "5.8.0"
|
|
}
|
|
}
|