85 lines
2.9 KiB
JSON
85 lines
2.9 KiB
JSON
{
|
|
"name": "@nymproject/react-webpack-with-theme-example",
|
|
"description": "An example project that uses React, Webpack, Typescript and the Nym theme + components library",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"@mui/material": "^5.0.1",
|
|
"@mui/styles": "^5.0.1",
|
|
"@mui/icons-material": "^5.5.0",
|
|
"@mui/lab": "^5.0.0-alpha.72",
|
|
"@nymproject/mui-theme" : "^1.0.0",
|
|
"@nymproject/react" : "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.14.5",
|
|
"@babel/preset-env": "^7.15.0",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@nymproject/eslint-config-react-typescript": "^1.0.0",
|
|
"@nymproject/webpack": "^1.0.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/node": "^16.7.13",
|
|
"@types/react": "^17.0.34",
|
|
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
"@typescript-eslint/parser": "^5.13.0",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-plugin-root-import": "^5.1.0",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"css-loader": "^6.2.0",
|
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
|
"dotenv-webpack": "^7.0.3",
|
|
"eslint": "^8.10.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-root-import": "^1.0.4",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.29.2",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"favicons": "^7.0.2",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.1",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jest": "^27.1.0",
|
|
"mini-css-extract-plugin": "^2.2.2",
|
|
"prettier": "^2.5.1",
|
|
"react-refresh-typescript": "^2.0.3",
|
|
"style-loader": "^3.2.1",
|
|
"thread-loader": "^3.0.4",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-loader": "^9.2.5",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.6.2",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.64.3",
|
|
"webpack-cli": "^4.8.0",
|
|
"webpack-dev-server": "^4.5.0",
|
|
"webpack-favicons": "^1.3.8",
|
|
"webpack-merge": "^5.8.0"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack serve --progress --port 3000",
|
|
"build": "webpack build --progress --config webpack.prod.js",
|
|
"build:dev": "webpack build --progress",
|
|
"build:serve": "npx serve dist",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"tsc": "tsc",
|
|
"tsc:watch": "tsc --watch",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix"
|
|
}
|
|
}
|