Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 556 Bytes

File metadata and controls

39 lines (25 loc) · 556 Bytes

Contributing

Setup

Requires Node.js. Install dependencies with:

npm ci

Making changes

All source lives in src/. Edit src/cropt.ts for library logic, src/cropt.css for styles, or src/demo.ts for the demo app.

Note

*.js and *.d.ts files are auto-generated; do not edit them directly.

Build

Compile TypeScript and demo files, and copy assets to demo/build/:

npm run prepare

Preview

Serve the demo locally at http://localhost:8080:

npm start

Format

npm run format