slate
v0.24.1 canvas contenteditable doc docs document edit editor html immutable and 12 more...
build
babel --out-dir ./lib ./src
clean
rm -rf ./dist ./lib ./node_modules
watch
babel --watch --out-dir ./lib ./src --source-maps inline
build:max
mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone Slate > ./dist/slate.js
build:min
mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone Slate | uglifyjs > ./dist/slate.min.js
prepublish
yarn run build:max && yarn run build:min