UNPKG

wavy-canvas

Version:

Create a wave animation on the canvas

52 lines (51 loc) 1.75 kB
{ "name": "wavy-canvas", "version": "0.0.7", "description": "Create a wave animation on the canvas", "main": "dist/wavy.js", "keywords": [ "wavy", "waves", "wave", "animation", "canvas" ], "author": "Dawid Karabin", "license": "MIT", "scripts": { "start": "npm-run-all --parallel serve watch", "serve": "live-server ./ --open=demo --host=0.0.0.0 --port=8000 --ignore=node_modules", "watch": "npm-run-all --parallel watch:*", "watch:demo": "watchify demo/index.js -t babelify -o demo/index.dist.js -v", "watch:scss": "node-sass -w -r --output-style nested src/*.scss -o dist", "build": "npm-run-all --parallel build:*", "build:scss": "node-sass --output-style compressed src/style.scss -o dist", "build:demo": "browserify demo/index.js -t babelify -o demo/index.dist.js", "build:js": "browserify src/Wavy.js -t babelify -s Wavy | derequire > dist/wavy.js", "postbuild:js": "uglifyjs dist/wavy.js -o dist/wavy.min.js -m -r 'define,require,exports' -c 'dead_code,conditionals,unused,warnings,drop_console'" }, "devDependencies": { "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-0": "^6.5.0", "babelify": "^7.3.0", "browserify": "^13.0.1", "derequire": "^2.0.3", "eslint": "^3.8.1", "live-server": "^1.0.0", "node-sass": "^3.7.0", "npm-run-all": "^2.1.1", "uglify-js": "^2.6.2", "watchify": "^3.7.0" }, "dependencies": { "doc-ready": "^1.0.4", "document-offset": "^1.0.4", "easing-js": "^1.0.1", "hex-rgb": "^1.0.0", "hidpi-canvas": "^1.0.10", "object-assign": "^4.1.0", "raf": "^3.2.0" } }