add nodejs v18 compatibility
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
"description": "A shared agenda for local communities",
|
||||
"author": "lesion",
|
||||
"scripts": {
|
||||
"build": "nuxt build --modern",
|
||||
"build": "export NODE_OPTIONS=--openssl-legacy-provider; nuxt build --modern",
|
||||
"start:inspect": "NODE_ENV=production node --inspect node_modules/.bin/nuxt start --modern",
|
||||
"dev": "nuxt dev",
|
||||
"dev": "export NODE_OPTIONS=--openssl-legacy-provider; nuxt dev",
|
||||
"test-sqlite": "export NODE_ENV=test; export DB=sqlite; jest --testEnvironment=jest-environment-node --bail=1",
|
||||
"test-mariadb": "export NODE_ENV=test; export DB=mariadb; jest --testEnvironment=jest-environment-node --bail=1",
|
||||
"test-postgresql": "export NODE_ENV=test; export DB=postgresql; jest --testEnvironment=jest-environment-node --bail=1",
|
||||
@@ -27,10 +27,11 @@
|
||||
"locales/",
|
||||
"store/",
|
||||
".nuxt/",
|
||||
"gancio_plugins",
|
||||
"yarn.lock"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=14 <=16"
|
||||
"node": ">=14 <=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/js": "^7.1.96",
|
||||
|
||||
Reference in New Issue
Block a user