aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-28 19:28:42 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-28 22:58:42 +0530
commit0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd (patch)
tree1418ee325d431d10e4f969f90a75e23f58b7ad6c /package.json
parentNew translations en-US.json (French) (#2155) (diff)
downloadferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.gz
ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.zst
ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.zip
build: use node 16 and npm 8 (#2157)
- change node version from 14.18.1 to 16.13.0 - change npm version from 6.14.13 to 8.1.0 - update package-lock.json to lockfileVersion 2 - use @sindresorhus/do-not-disturb instead of macos-notification-state to avoid failing CI - run ferdi build on latest macos and windows - skip husky in CI builds - move 'cld' and 'node-mac-permissions' to optionalDependency Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/package.json b/package.json
index e6804da9d..f5e1c6dba 100644
--- a/package.json
+++ b/package.json
@@ -11,12 +11,12 @@
11 "repository": "https://github.com/getferdi/ferdi.git", 11 "repository": "https://github.com/getferdi/ferdi.git",
12 "private": true, 12 "private": true,
13 "engines": { 13 "engines": {
14 "node": "^14.18", 14 "node": "^16.13.0",
15 "npm": "^6.14" 15 "npm": "^8.1.0"
16 }, 16 },
17 "engine-strict": true, 17 "engine-strict": true,
18 "scripts": { 18 "scripts": {
19 "prepare": "ts-node scripts/prepare.ts", 19 "prepare": "is-ci || husky install",
20 "start": "electron ./build", 20 "start": "electron ./build",
21 "start:local": "cross-env USE_LOCAL_API=1 npm start", 21 "start:local": "cross-env USE_LOCAL_API=1 npm start",
22 "start:live": "cross-env USE_LIVE_API=1 npm start", 22 "start:live": "cross-env USE_LIVE_API=1 npm start",
@@ -62,10 +62,10 @@
62 "@mdi/js": "6.3.95", 62 "@mdi/js": "6.3.95",
63 "@mdi/react": "1.5.0", 63 "@mdi/react": "1.5.0",
64 "@sentry/electron": "2.5.4", 64 "@sentry/electron": "2.5.4",
65 "@sindresorhus/do-not-disturb": "1.1.0",
65 "auto-launch": "5.0.5", 66 "auto-launch": "5.0.5",
66 "btoa": "1.2.1", 67 "btoa": "1.2.1",
67 "classnames": "2.3.1", 68 "classnames": "2.3.1",
68 "cld": "2.7.0",
69 "color": "4.0.1", 69 "color": "4.0.1",
70 "csstype": "3.0.9", 70 "csstype": "3.0.9",
71 "darkreader": "4.9.39", 71 "darkreader": "4.9.39",
@@ -82,7 +82,6 @@
82 "jsonwebtoken": "8.5.1", 82 "jsonwebtoken": "8.5.1",
83 "jss": "10.8.1", 83 "jss": "10.8.1",
84 "lodash": "4.17.21", 84 "lodash": "4.17.21",
85 "macos-notification-state": "1.3.6",
86 "macos-version": "5.2.1", 85 "macos-version": "5.2.1",
87 "mime-types": "2.1.33", 86 "mime-types": "2.1.33",
88 "minimist": "1.2.5", 87 "minimist": "1.2.5",
@@ -94,7 +93,6 @@
94 "moment": "2.29.1", 93 "moment": "2.29.1",
95 "ms": "2.1.3", 94 "ms": "2.1.3",
96 "node-fetch": "2.6.1", 95 "node-fetch": "2.6.1",
97 "node-mac-permissions": "2.2.0",
98 "normalize-url": "6.1.0", 96 "normalize-url": "6.1.0",
99 "os-name": "4.0.1", 97 "os-name": "4.0.1",
100 "pretty-bytes": "5.6.0", 98 "pretty-bytes": "5.6.0",
@@ -184,6 +182,7 @@
184 "hex-rgb": "4.3.0", 182 "hex-rgb": "4.3.0",
185 "html-webpack-plugin": "4.5.2", 183 "html-webpack-plugin": "4.5.2",
186 "husky": "7.0.4", 184 "husky": "7.0.4",
185 "is-ci": "3.0.1",
187 "jest": "27.3.1", 186 "jest": "27.3.1",
188 "kebab-case": "1.0.1", 187 "kebab-case": "1.0.1",
189 "mocha": "9.1.3", 188 "mocha": "9.1.3",
@@ -203,6 +202,10 @@
203 "webpack-cli": "3.3.12", 202 "webpack-cli": "3.3.12",
204 "webpack-dev-server": "3.11.2" 203 "webpack-dev-server": "3.11.2"
205 }, 204 },
205 "optionalDependencies": {
206 "cld": "2.7.0",
207 "node-mac-permissions": "2.2.0"
208 },
206 "config": { 209 "config": {
207 "commitizen": { 210 "commitizen": {
208 "path": "./node_modules/cz-conventional-changelog", 211 "path": "./node_modules/cz-conventional-changelog",