Contributing to Clip#board is always welcome. Just ensure that the following requirements are met.
- All actions are running successfully
- Application build
- Web app
- Desktop app
- Source code linting
- Cypress e2e tests
- Application build
- Code style matches the rest of the app
- imports aren't a mess, etc.
- New code is well documented with jsdoc
The following preconditions must be met in order to develop Clip#board.
- You need Node.js to be installed with the version specified in the .nvmrc file.
- Run
npm install
to install all the dependencies onto your system.
Run npm start
for a dev server.
Navigate to http://localhost:4201/
.
The app will automatically reload if you change
any of the source files.
Run npm run tauri dev
to start the desktop app with a dev server.
Run npm run build
to build the project.
The build artifacts will be stored in the dist/clipboard/
directory.
Run npm run tauri build
to build the installer for the OS you are currently on.
You need to have at least Rust installed onto your system (See documentation).
Run npm run e2e
to start the cypress test runner ui.
Remember that the dev server must be running in order to run the tests.
Run npm run docs
to generate and open the documentation webpage.
This command will generate the source code for the documentation webpage and open in at localhost:8080.