Skip to content

Commit

Permalink
Setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Oct 18, 2022
1 parent 1053066 commit f2c31db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- Node.js 16+, Git, [Tauri](https://tauri.app/v1/guides/getting-started/prerequisites)
- Clone the repository: `git clone https://github.com/Levminer/authme`
- Install node modules: `npm i`
- Setup project: `npm run build:bundle`
- Setup project: `npm run setup`
- Run start command: `npm run start`

## Building
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
- name: Install modules
run: npm ci
- name: Setup project
run: npm run build:bundle
run: npm run setup
- name: Run Lint
run: npm run check
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"build:alpha": "node scripts/buildNumber.cjs alpha false && tauri build",
"build:beta": "node scripts/buildNumber.cjs beta false && tauri build",
"build:bundle": "node scripts/build.js",
"setup": "node scripts/buildNumber.cjs alpha false && node scripts/build.js",
"check": "svelte-check && tsc --noEmit && eslint ."
},
"devDependencies": {
Expand Down

0 comments on commit f2c31db

Please sign in to comment.