UNPKG

parseunit

Version:

Parse strings with a number and unit

44 lines (43 loc) 1.1 kB
{ "name": "parseunit", "version": "0.3.1", "description": "Parse strings with a number and unit", "main": "dist/index.js", "scripts": { "build": "rimraf dist && babel src --out-dir dist --ignore \"__tests__\"", "lint": "eslint src/", "mocha": "mocha src/**/*__tests__/* -R spec --require test-setup", "test": "npm run lint && npm run mocha", "prepublish": "npm run build && npm shrinkwrap", "postpublish": "rm npm-shrinkwrap.json" }, "repository": { "type": "git", "url": "https://github.com/ThomWright/parseunit" }, "keywords": [ "parse", "split", "number", "units", "unit", "px", "em", "css" ], "author": "Thom Wright <npm@thomwright.co.uk> (http://thomwright.co.uk/)", "license": "MIT", "bugs": { "url": "https://github.com/ThomWright/parseunit/issues" }, "homepage": "https://github.com/ThomWright/parseunit", "dependencies": {}, "devDependencies": { "babel": "^5.4.7", "babel-eslint": "^4.0.5", "chai": "^3", "eslint": "^1.0.0", "mocha": "^2.2.5", "rimraf": "^2.3.4" } }