asdb-ui
The web UI for the antiSMASH database
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build
Vitest
Run Unit Tests withpnpm test:unit
or
pnpm test:unit:watch
to keep watching the source files for changes.
Nightwatch
Run End-to-End Tests with# When using CI, the project must be built first.
pnpm build
# Runs the end-to-end tests
pnpm test:e2e
# Runs the tests only on Chrome
pnpm test:e2e --env chrome
# Runs the tests of a specific file
pnpm test:e2e tests/e2e/example.ts
# Runs the tests in debug mode
pnpm test:e2e --debug
Nightwatch Component Testing
Run Headed Component Tests withpnpm test:unit
pnpm test:unit -- --headless # for headless testing
ESLint
Lint withpnpm lint
License
The antiSMASH database UI is an open source tool available under the GNU Affero General Public License version 3.0 or greater.
See the LICENSE
file for details.