|
|
@ -14,7 +14,7 @@ |
|
|
|
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass", |
|
|
|
"test:lint:js": "eslint --ext=js . --cache", |
|
|
|
"test:lint:sass": "sass-lint -v", |
|
|
|
"test:jest": "cross-env NODE_ENV=test jest --coverage" |
|
|
|
"test:jest": "cross-env NODE_ENV=test jest" |
|
|
|
}, |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
@ -27,6 +27,7 @@ |
|
|
|
"not dead" |
|
|
|
], |
|
|
|
"jest": { |
|
|
|
"testEnvironment": "jsdom", |
|
|
|
"projects": [ |
|
|
|
"<rootDir>/app/javascript/mastodon" |
|
|
|
], |
|
|
@ -174,13 +175,13 @@ |
|
|
|
"@testing-library/jest-dom": "^5.14.1", |
|
|
|
"@testing-library/react": "^12.0.0", |
|
|
|
"babel-eslint": "^10.1.0", |
|
|
|
"babel-jest": "^27.0.6", |
|
|
|
"babel-jest": "^27.1.0", |
|
|
|
"eslint": "^7.32.0", |
|
|
|
"eslint-plugin-import": "~2.24.1", |
|
|
|
"eslint-plugin-jsx-a11y": "~6.4.1", |
|
|
|
"eslint-plugin-promise": "~5.1.0", |
|
|
|
"eslint-plugin-react": "~7.24.0", |
|
|
|
"jest": "^26.6.3", |
|
|
|
"jest": "^27.1.0", |
|
|
|
"raf": "^3.4.1", |
|
|
|
"react-intl-translations-manager": "^5.0.3", |
|
|
|
"react-test-renderer": "^16.14.0", |
|
|
|