/pm-devtool

ProseMirror-based Editor

Primary LanguageTypeScriptMIT LicenseMIT

ProseMirror DevTool

Total alerts Language grade: JavaScript

Prerequisites

Create a copy of .env.template whose name is .env.local.<user> in the root folder. Replace all __fillin__ entries.

Ensure the correct version of NodeJS (and corresponding NPM version)

nvm install --latest-npm

Set up dependencies

npm install

Dev Environment

Watch (start) web: npx env-cmd -f .env.local.<user> npm run start

There should be no errors or warning seen. Defaults to localhost:3000

Testing

Run tests: npm test

Clean

rm -rf node_modules

Super Clean

rm -f package-lock.json