UNPKG

swiftvg

Version:

Convert SVG path data to a Swift 3 UIBezierPath

58 lines (57 loc) 1.25 kB
{ "name": "swiftvg", "version": "1.0.0", "description": "Convert SVG path data to a Swift 3 UIBezierPath", "main": "index.js", "bin": "./bin/cmd.js", "engines": { "node": ">= 4.0.0" }, "scripts": { "build:browser": "browserify index.js -s swiftvg | uglifyjs -c > bundle.js ", "build:site": "browserify site/main.js -s swiftvg | uglifyjs -c > site/bundle.js ", "test": "npm run test:coverage && npm run test:lint", "test:coverage": "nyc npm run test:unit", "test:lint": "standard", "test:unit": "mocha test.js" }, "keywords": [ "swift", "svg", "path", "bezier", "curve", "arc", "uibezierpath", "uikit" ], "author": "Mike Engel <mike@mike-engel.com>", "license": "MIT", "dependencies": { "parse-svg-path": "^0.1.2", "ramda": "^0.23.0" }, "devDependencies": { "browserify": "^13.3.0", "chai": "^3.5.0", "mocha": "^3.2.0", "nyc": "^10.0.0", "standard": "^8.6.0", "uglify-js": "github:mishoo/UglifyJS2#harmony" }, "standard": { "ignore": [ "bundle.js" ], "globals": [ "describe", "it" ] }, "nyc": { "lines": 99, "statements": 99, "functions": 99, "branches": 99 } }