mirror of
https://github.com/Terreii/andromeda-viewer.git
synced 2026-08-14 00:57:49 +00:00
chore(package): update react-scripts to v4 and uninstall standard
This commit is contained in:
Generated
+8082
-5127
File diff suppressed because it is too large
Load Diff
+2
-3
@@ -24,7 +24,7 @@
|
||||
"update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): update CONTRIBUTING.md'",
|
||||
"update-files": "node tools/updateFiles.js",
|
||||
"test:docs": "textlint README.md ./*/*.md ./src/*/*.md",
|
||||
"test:standard": "standard",
|
||||
"test:standard": "echo standard",
|
||||
"test:server": "cross-env PORT=0 NODE_ENV=test mocha",
|
||||
"pretest:app": "npm run build:messages",
|
||||
"test:app": "react-scripts test --env=jsdom",
|
||||
@@ -96,7 +96,7 @@
|
||||
"react-portal": "^4.2.1",
|
||||
"react-redux": "^7.2.1",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-scripts": "^3.4.3",
|
||||
"react-scripts": "^4.0.0",
|
||||
"react-test-renderer": "^17.0.1",
|
||||
"reakit": "^1.2.5",
|
||||
"reakit-test-utils": "^0.14.5",
|
||||
@@ -105,7 +105,6 @@
|
||||
"requestidlecallback": "^0.3.0",
|
||||
"reselect": "^4.0.0",
|
||||
"sinon": "^9.2.0",
|
||||
"standard": "^14.3.4",
|
||||
"supertest": "^5.0.0",
|
||||
"tailwindcss": "^1.9.6",
|
||||
"textlint": "^11.7.6",
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
import { toHaveNoViolations } from 'jest-axe'
|
||||
import MutationObserver from '@sheerun/mutationobserver-shim'
|
||||
|
||||
expect.extend(toHaveNoViolations)
|
||||
|
||||
// Remove this (and uninstall it) after "react-scripts" ships with Jest v25
|
||||
window.MutationObserver = MutationObserver
|
||||
|
||||
@@ -7,6 +7,8 @@ const request = require('supertest')
|
||||
const uuid = require('uuid')
|
||||
|
||||
describe('account', function () {
|
||||
this.timeout(5000)
|
||||
|
||||
const USERNAME = 'tester.mactestface@example.com'
|
||||
const PASSWORD = 'bc0e734068f4ef43e22d84e3412c4c0221daa3a001fcd0c7ab24a565f9e7503d'
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ const sinon = require('sinon')
|
||||
const request = require('supertest')
|
||||
|
||||
describe('login', function () {
|
||||
this.timeout(5000)
|
||||
|
||||
let clock
|
||||
let app
|
||||
let server // express server
|
||||
|
||||
+2
-2
@@ -11,14 +11,14 @@
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "preserve"
|
||||
"jsx": "react"
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
|
||||
Reference in New Issue
Block a user