Skip to content

Xiphoseer/padington-client

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

padington-client

This repo contains a prototype for a collaborative editing client based on ProseMirror. The repository was derived from the rollup-starter-app template.

Getting started

Clone this repository and install its dependencies:

git clone https://github.com/xiphoseer/padington-client
cd padington-client
npm install

# or
npx degit "xiphoseer/padington-client" my-app
cd my-app
npm install

The public/index.html file contains a <script src='bundle.js'> tag, which means we need to create public/bundle.js. The rollup.config.js file tells Rollup how to create this bundle, starting with src/main.js and including all its dependencies, including date-fns.

npm run build builds the application to public/bundle.js, along with a sourcemap file for debugging.

npm start launches a server, using serve. Navigate to localhost:5000.

npm run watch will continually rebuild the application as your source files change.

npm run dev will run npm start and npm run watch in parallel.

License

TBD, likely MPL-2.0