aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLibravatar Balaji Vijayakumar <kuttibalaji.v6@gmail.com>2022-12-08 22:28:46 +0530
committerLibravatar GitHub <noreply@github.com>2022-12-08 16:58:46 +0000
commit93d61ced55e7e1c486cdbe6c02c16435ca698860 (patch)
treee4d9e53260e508711cfcf45232d086e906a09d8e /package.json
parentBackported deprecation fixes from electron v22 upgrade (diff)
downloadferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.tar.gz
ferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.tar.zst
ferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.zip
migrate from gulp to esbuild for faster builds (#815)
Diffstat (limited to 'package.json')
-rw-r--r--package.json61
1 files changed, 14 insertions, 47 deletions
diff --git a/package.json b/package.json
index 0fdf0235d..bffa2e0de 100644
--- a/package.json
+++ b/package.json
@@ -22,16 +22,16 @@
22 "start": "electron ./build", 22 "start": "electron ./build",
23 "start:local": "cross-env USE_LOCAL_API=1 pnpm start", 23 "start:local": "cross-env USE_LOCAL_API=1 pnpm start",
24 "start:live": "cross-env USE_LIVE_API=1 pnpm start", 24 "start:live": "cross-env USE_LIVE_API=1 pnpm start",
25 "start:all-dev": "concurrently \"pnpm dev\" \"wait-on http://localhost:8080 && pnpm start\"", 25 "start:all-dev": "concurrently \"pnpm dev\" \"wait-on http-get://localhost:8080 && pnpm start\"",
26 "dev": "cross-env NODE_ENV=development gulp dev", 26 "dev": "node esbuild.mjs --watch",
27 "test": "jest", 27 "test": "jest",
28 "test:watch": "jest --watch", 28 "test:watch": "jest --watch",
29 "lint": "tsc --noEmit && eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", 29 "lint": "tsc --noEmit && eslint \"{src,test,scripts}/**/*.{js,jsx,mjs,ts,tsx}\"",
30 "lint:fix": "eslint --fix \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", 30 "lint:fix": "eslint --fix \"{src,test,scripts}/**/*.{js,jsx,mjs,ts,tsx}\"",
31 "extract": "formatjs extract \"src/**/*.{js,jsx,ts,tsx}\" --ignore=\"**/*.d.ts\" --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", 31 "extract": "formatjs extract \"src/**/*.{js,jsx,mjs,ts,tsx}\" --ignore=\"**/*.d.ts\" --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace",
32 "compile": "formatjs compile \"temp.json\" --out-file src/i18n/locales/en-US.json", 32 "compile": "formatjs compile \"temp.json\" --out-file src/i18n/locales/en-US.json",
33 "manage-translations": "pnpm extract && pnpm compile && rimraf temp.json", 33 "manage-translations": "pnpm extract && pnpm compile && rimraf temp.json",
34 "build": "preval-build-info-cli && gulp build && electron-builder", 34 "build": "preval-build-info-cli && node esbuild.mjs && electron-builder",
35 "contributors": "all-contributors", 35 "contributors": "all-contributors",
36 "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", 36 "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"",
37 "update-submodules": "git submodule update --init --recursive --remote --rebase --force", 37 "update-submodules": "git submodule update --init --recursive --remote --rebase --force",
@@ -127,14 +127,6 @@
127 "ws": "8.11.0" 127 "ws": "8.11.0"
128 }, 128 },
129 "devDependencies": { 129 "devDependencies": {
130 "@babel/core": "7.20.5",
131 "@babel/eslint-parser": "7.19.1",
132 "@babel/plugin-proposal-class-properties": "7.18.6",
133 "@babel/plugin-proposal-decorators": "7.20.5",
134 "@babel/preset-env": "7.20.2",
135 "@babel/preset-react": "7.18.6",
136 "@babel/preset-typescript": "7.18.6",
137 "@babel/register": "7.18.9",
138 "@commitlint/cli": "17.3.0", 130 "@commitlint/cli": "17.3.0",
139 "@commitlint/config-conventional": "17.3.0", 131 "@commitlint/config-conventional": "17.3.0",
140 "@electron/notarize": "1.2.3", 132 "@electron/notarize": "1.2.3",
@@ -142,15 +134,6 @@
142 "@types/color": "3.0.3", 134 "@types/color": "3.0.3",
143 "@types/expect.js": "0.3.29", 135 "@types/expect.js": "0.3.29",
144 "@types/fs-extra": "9.0.13", 136 "@types/fs-extra": "9.0.13",
145 "@types/gulp": "4.0.10",
146 "@types/gulp-babel": "6.1.30",
147 "@types/gulp-connect": "5.0.5",
148 "@types/gulp-csso": "4.0.1",
149 "@types/gulp-htmlmin": "1.3.32",
150 "@types/gulp-if": "0.0.34",
151 "@types/gulp-sass": "5.0.0",
152 "@types/gulp-sass-variables": "1.2.2",
153 "@types/gulp-terser": "1.2.1",
154 "@types/jest": "28.1.4", 137 "@types/jest": "28.1.4",
155 "@types/lodash": "4.14.190", 138 "@types/lodash": "4.14.190",
156 "@types/mime-types": "2.1.1", 139 "@types/mime-types": "2.1.1",
@@ -166,12 +149,15 @@
166 "@typescript-eslint/eslint-plugin": "5.45.0", 149 "@typescript-eslint/eslint-plugin": "5.45.0",
167 "@typescript-eslint/parser": "5.45.0", 150 "@typescript-eslint/parser": "5.45.0",
168 "all-contributors-cli": "6.24.0", 151 "all-contributors-cli": "6.24.0",
169 "babel-plugin-formatjs": "10.3.31", 152 "chalk": "5.1.2",
170 "concurrently": "7.6.0", 153 "concurrently": "7.6.0",
171 "cross-env": "7.0.3", 154 "cross-env": "7.0.3",
172 "dotenv": "16.0.3",
173 "electron": "21.3.3", 155 "electron": "21.3.3",
174 "electron-builder": "24.0.0-alpha.4", 156 "electron-builder": "24.0.0-alpha.4",
157 "esbuild": "0.15.12",
158 "esbuild-plugin-copy": "2.0.1",
159 "esbuild-runner": "2.2.2",
160 "esbuild-sass-plugin": "2.4.2",
175 "eslint": "8.28.0", 161 "eslint": "8.28.0",
176 "eslint-config-airbnb": "19.0.4", 162 "eslint-config-airbnb": "19.0.4",
177 "eslint-config-airbnb-typescript": "17.0.0", 163 "eslint-config-airbnb-typescript": "17.0.0",
@@ -183,36 +169,17 @@
183 "eslint-plugin-react": "7.31.11", 169 "eslint-plugin-react": "7.31.11",
184 "eslint-plugin-react-hooks": "4.6.0", 170 "eslint-plugin-react-hooks": "4.6.0",
185 "eslint-plugin-unicorn": "42.0.0", 171 "eslint-plugin-unicorn": "42.0.0",
186 "gulp": "4.0.2", 172 "gulp-livereload": "4.0.2",
187 "gulp-babel": "8.0.0",
188 "gulp-cli": "2.3.0",
189 "gulp-connect": "5.7.0",
190 "gulp-csso": "4.0.1",
191 "gulp-htmlmin": "5.0.1",
192 "gulp-if": "3.0.0",
193 "gulp-rename": "2.0.0",
194 "gulp-sass": "5.1.0",
195 "gulp-sass-variables": "1.2.0",
196 "gulp-terser": "2.1.0",
197 "gulp-typescript": "6.0.0-alpha.1",
198 "gulp-uglify": "3.0.2",
199 "hex-rgb": "4.3.0",
200 "husky": "8.0.2", 173 "husky": "8.0.2",
201 "is-ci": "3.0.1", 174 "is-ci": "3.0.1",
202 "jest": "28.1.2", 175 "jest": "28.1.2",
203 "kebab-case": "1.0.2",
204 "prettier": "2.8.0", 176 "prettier": "2.8.0",
205 "preval-build-info": "1.0.3", 177 "preval-build-info": "1.0.3",
206 "rimraf": "3.0.2", 178 "rimraf": "3.0.2",
207 "sass": "1.56.1",
208 "simple-git": "3.15.0", 179 "simple-git": "3.15.0",
209 "ts-loader": "9.4.1", 180 "tiny-glob": "0.2.9",
210 "ts-node": "10.9.1",
211 "typescript": "4.9.3", 181 "typescript": "4.9.3",
212 "wait-on": "6.0.1", 182 "wait-on": "6.0.1"
213 "webpack": "5.75.0",
214 "webpack-cli": "4.10.0",
215 "webpack-dev-server": "4.11.1"
216 }, 183 },
217 "pnpm": { 184 "pnpm": {
218 "overrides": { 185 "overrides": {