Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 17eb684

Browse files
committedMay 31, 2022
1 parent bee7aff commit 17eb684

File tree

3 files changed

+17
-53
lines changed

3 files changed

+17
-53
lines changed
 

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [14, 16]
14+
node-version: [16]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -41,7 +41,7 @@ jobs:
4141
- name: Use Node.js
4242
uses: actions/setup-node@v1
4343
with:
44-
node-version: '14.x'
44+
node-version: ${{ matrix.node-version }}
4545
- run: npm ci
4646
shell: bash
4747
- run: npm run-script electron-pack-${{ steps.get-os.outputs.os }}

‎package-lock.json

+4-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+11-7
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
"scripts": {
99
"build": "cross-env REACT_APP_VERSION=$npm_package_version INLINE_RUNTIME_CHUNK=false REACT_APP_CSP=\"script-src 'self'\" react-scripts build",
1010
"electron-dev": "concurrently \"BROWSER=none npm run start\" \"wait-on http://localhost:3000 && electron .\"",
11-
"electron-pack": "npm run build && npx electron-builder",
12-
"electron-pack-windows": "npm run build && npx electron-builder -w",
13-
"electron-pack-macos": "npm run build && npx electron-builder --mac --universal",
14-
"electron-pack-ubuntu": "npm run build && npx electron-builder -l",
15-
"electron-pack-linux:arm64": "npm run build && npx electron-builder -l --arm64",
11+
"electron-pack": "npm run build && electron-builder build",
12+
"electron-pack-windows": "npm run build && electron-builder build -w",
13+
"electron-pack-macos": "npm run build && electron-builder build --mac --universal",
14+
"electron-pack-ubuntu": "npm run build && electron-builder build -l",
15+
"electron-pack-linux:arm64": "npm run build && electron-builder build -l --arm64",
1616
"extension-build": "shx rm -rf build && npm run build && shx cp public/background.js public/manifest.json build",
1717
"extension-pack": "npm run extension-build && web-ext build --source-dir=build --artifacts-dir=. --filename=alephium-wallet.zip --overwrite-dest",
1818
"start": "cross-env REACT_APP_VERSION=$npm_package_version REACT_APP_CSP=\"script-src 'self' 'unsafe-inline'\" react-scripts start",
1919
"test": "react-scripts test --silent",
2020
"lint": "eslint . --ext .ts,.tsx --max-warnings=0",
2121
"lint:fix": "eslint . --fix --ext .ts,.tsx",
22-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\""
22+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
23+
"postinstall": "electron-builder install-app-deps"
2324
},
2425
"browserslist": {
2526
"production": [
@@ -112,7 +113,10 @@
112113
"directories": {
113114
"buildResources": "assets"
114115
},
115-
"afterPack": ".afterPack.js"
116+
"afterPack": ".afterPack.js",
117+
"mac": {
118+
"singleArchFiles": "node_modules/better-sqlite3/**"
119+
}
116120
},
117121
"engines": {
118122
"node": ">=14.0.0",

0 commit comments

Comments
 (0)
This repository has been archived.