1.13.0 • Published 2 years ago
@openstax/highlighter v1.13.0
Highlighter
Functionality for OpenStax note taking features including:
- serializing highlights
- deserializing highlights
- versioned serialization strategies
- extracting highlighted content
- loading wrappers for styling highligted content
- managing focus/scrolling to highlights
Setup
install nvm
# use the right version of node
nvm install
# install yarn, skip if you have it already
npm install -g yarn
# install dependencies
yarn
To run in development
run these in separate terminals as you develop
# typescript type checking
yarn watch:ts
# unit tests
yarn watch:test
reference changes from another project
do yarn link
# watch for code changes and re-compile:
yarn watch
to deploy
# do build
yarn build:clean
# push to npm (this updates package.json and makes a git tag)
yarn publish [--minor|--major|--patch]
# push to github
git push origin v$(yarn -s current)
# PR the version bump back into master (skip this for weirdo beta or release candidate tags)
open https://github.com/openstax/highlighter/compare/master...v$(yarn -s current)?expand=1
Running the examples with docker
# builds the library for the examples to use
docker-compose run build
# runs the test server on port 8080
docker-compose up serve
Deploy examples to gh-pages
yarn build:clean && yarn deploy:examples
1.13.0
2 years ago
1.12.1
2 years ago
1.12.0
3 years ago
1.11.0
3 years ago
1.10.0
3 years ago
1.9.1
3 years ago
1.8.0
3 years ago
1.9.0
3 years ago
1.7.0
3 years ago
1.7.0-alpha2
3 years ago
1.7.0-alpha1
3 years ago
1.6.3
4 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.2
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.6
4 years ago
1.4.5
4 years ago
1.4.4
4 years ago
1.4.3
4 years ago
1.4.2
4 years ago
1.4.1-fix9
4 years ago
1.4.1-fix8
4 years ago
1.4.1-fix7
4 years ago
1.4.1-fix6
4 years ago
1.4.1-fix5
4 years ago
1.4.1-fix4
4 years ago
1.4.1-fix2
4 years ago
1.4.1-fix3
4 years ago
1.4.1-fix1
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0-beta.2
5 years ago
1.3.0-beta.1
5 years ago
1.2.1-beta.2
5 years ago
1.2.1-beta.1
5 years ago
1.2.0-beta.5
5 years ago
1.2.0-beta.4
5 years ago
1.2.0-beta.3
5 years ago
1.2.0-beta.2
5 years ago
1.2.0-beta.1
5 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago