operator.js

v3.1.1
Drop-in AJAX & routing library that transforms a normal site into a single page application (SPA). It's light, fast, and flexible.
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 ./

Metadata

  • MIT
  • Whatever
  • estrattonbailey
  • released 10/5/2017

Downloads

Maintainers