"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
- "production": "mix --production"
+ "production": "mix --production",
+ "test": "NODE_ENV=test npx jest",
+ "test-watch": "npm run test -- --watch --notify"
+ },
+ "overrides": [
+ {
+ "files": [
+ "**/*.test.js"
+ ],
+ "env": {
+ "jest": true
+ },
+ "settings": {
+ "import/resolver": {
+ "node": {
+ "paths": [
+ "resources/js"
+ ]
+ }
+ }
+ }
+ }
+ ]
+ },
+ "jest": {
+ "moduleDirectories": [
+ "node_modules",
+ "resources/js"
+ ],
+ "roots": [
+ "<rootDir>/resources/js",
+ "<rootDir>/tests/js"
+ ],
+ "setupFilesAfterEnv": [
+ "<rootDir>/resources/js/setup-jest.js"
+ ],
+ "testEnvironment": "jsdom"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.11",
"@babel/preset-react": "^7.13.13",
"@popperjs/core": "^2.10.2",
"@tailwindcss/forms": "^0.5.6",
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.11",
"@babel/preset-react": "^7.13.13",
"@popperjs/core": "^2.10.2",
"@tailwindcss/forms": "^0.5.6",
"bootstrap": "^5.1.3",
"eslint": "^8.10.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-react": "^7.29.3",
"bootstrap": "^5.1.3",
"eslint": "^8.10.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-react": "^7.29.3",
"resolve-url-loader": "^5.0.0",
"sass": "^1.32.11",
"sass-loader": "^13.3.2",
"resolve-url-loader": "^5.0.0",
"sass": "^1.32.11",
"sass-loader": "^13.3.2",
"qs": "^6.10.3",
"react-bootstrap": "^2.2.0",
"react-helmet": "^6.1.0",
"qs": "^6.10.3",
"react-bootstrap": "^2.2.0",
"react-helmet": "^6.1.0",
"react-router-bootstrap": "^0.26.0",
"react-router-dom": "^6.2.2",
"recharts": "^2.1.9",
"react-router-bootstrap": "^0.26.0",
"react-router-dom": "^6.2.2",
"recharts": "^2.1.9",