This is the source code for the dmarc.wiki website.
Install dependencies with npm install, then run:
npm run devOr start the server and open the app in a new browser tab:
npm run dev -- --openCode formatting is handled by Prettier. To format the whole repository:
npm run formatTo check formatting and run ESLint:
npm run lintTypeScript, accessibility, and Svelte compiler errors are caught by svelte-check:
npm run checkEditor configuration is committed so both editors run Prettier and ESLint on save:
- VS Code: install the recommended Prettier and ESLint extensions (see
.vscode/extensions.json). - WebStorm: works out of the box via
.idea/prettier.xmland.idea/jsLinters/eslint.xml. Both set a custom file pattern, because WebStorm's default omits.svelte.
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.