mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
make it work with nodejs 17
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
"workbox-build": "^6.1.5"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "PORT=3003 react-scripts start",
|
||||
"build": "react-scripts build && npm run build-sw",
|
||||
"dev": "PORT=3003 react-scripts --openssl-legacy-provider start",
|
||||
"build": "react-scripts --openssl-legacy-provider build && npm run build-sw",
|
||||
"build-sw": "node ./src/sw-build.js",
|
||||
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
"valid-url": "^1.0.9"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "PORT=3100 react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"dev": "PORT=3100 react-scripts --openssl-legacy-provider start",
|
||||
"build": "react-scripts --openssl-legacy-provider build",
|
||||
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
"start": "node index.js",
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"dev": "PORT=3000 react-scripts start",
|
||||
"build": "react-scripts build && npm run build-sw",
|
||||
"dev": "PORT=3000 react-scripts --openssl-legacy-provider start",
|
||||
"build": "react-scripts --openssl-legacy-provider build && npm run build-sw",
|
||||
"postbuild": "purgecss --css build/assets/css/*.css --content build/index.html build/static/js/*.js --output build/assets/css",
|
||||
"build-sw": "node ./src/sw-build.js",
|
||||
"test": "jest --forceExit --testSequencer ./src/test/puppeteer/CustomSequencer.js --runInBand ./src/test/puppeteer/*.test.js",
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "node index.js",
|
||||
"build": "react-scripts build",
|
||||
"build": "react-scripts --openssl-legacy-provider build",
|
||||
"postbuild": "shx cp robots.txt build",
|
||||
"dev": "export PORT=3006 && react-scripts start",
|
||||
"dev": "export PORT=3006 && react-scripts --openssl-legacy-provider start",
|
||||
"test": "mocha --exit ./src/test/statusPage.test.js",
|
||||
"eject": "react-scripts eject",
|
||||
"snapshots": "cross-env CI=true react-scripts test --env=jsdom --coverage --coverage",
|
||||
|
||||
Reference in New Issue
Block a user