operator.js

v3.5.4
A drop-in "PJAX" solution for fluid, smooth transitions between pages. **2.87kb gzipped.** Zero stress.
ajax routing pjax ajaxify single page application

umd

mkdir -p dist && browserify -p [minifyify --no-map] index.js --standalone operator > dist/index.umd.js

size

minify dist/ | gzip-size --raw

lint

standard 'index.js'

prebuild

npm run lint

prepublish

npm run build

build

npm run build:index && npm run build:lib && npm run size

watch

parallelshell 'npm run watch:index' 'npm run watch:lib'

build:index

babel index.js -d dist/

watch:index

babel -w index.js -d dist/

watch:lib

babel -w lib/*.js -d dist

build:lib

babel lib -d dist/lib

copy

rm README.md ; cp ../README.md ./
npm i operator.js

Metadata

  • MIT
  • Whatever
  • estrattonbailey
  • released 12/11/2017

Downloads

Maintainers