fabric-pure-browser
Version:
Fabric.js package with no node-specific dependencies (node-canvas, jsdom). The project is published once a day (in case if a new version appears) from 'master' branch of https://github.com/fabricjs/fabric.js repository. You can keep original imports in
16 lines (8 loc) • 329 B
JavaScript
var cp = require('child_process');
console.log('npm version prerelease --preid=rc');
cp.execSync('npm version prerelease --preid=rc');
console.log('npm run build');
cp.execSync('npm run build');
console.log('npm publish --tag next');
cp.execSync('npm publish --tag next');
console.log('pre release package is published');