| { |
| "author": "David Worms <david@adaltas.com>", |
| "contributors": [ |
| { |
| "email": "david@adaltas.com", |
| "name": "David Worms" |
| } |
| ], |
| "dependencies": { |
| "wcwidth": "^1.0.1" |
| }, |
| "description": "Left and right string padding", |
| "devDependencies": { |
| "@babel/cli": "^7.2.3", |
| "@babel/core": "^7.4.0", |
| "@babel/preset-env": "^7.4.2", |
| "coffeescript": "^2.4.0", |
| "mocha": "^6.0.2", |
| "rollup": "^1.9.0", |
| "rollup-plugin-babel": "^4.3.2", |
| "rollup-plugin-commonjs": "^9.3.4", |
| "rollup-plugin-node-resolve": "^4.2.3", |
| "should": "^13.2.3" |
| }, |
| "engines": { |
| "node": ">= 4.0.0" |
| }, |
| "files": [ |
| "/dist" |
| ], |
| "homepage": "https://github.com/adaltas/node-pad", |
| "keywords": [ |
| "pad", |
| "string" |
| ], |
| "license": "BSD-3-Clause", |
| "main": "dist/pad.cjs.js", |
| "module": "dist/pad.esm.js", |
| "name": "pad", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/adaltas/node-pad.git" |
| }, |
| "scripts": { |
| "build": "coffee -b -o lib src && rollup -c && rm -r lib && cp -p src/index.d.ts dist/pad.d.ts", |
| "major": "npm version major -m 'Bump to version %s'", |
| "minor": "npm version minor -m 'Bump to version %s'", |
| "patch": "npm version patch -m 'Bump to version %s'", |
| "postversion": "git push && git push --tags && npm publish", |
| "pretest": "npm run build", |
| "preversion": "grep '## Trunk' CHANGELOG.md && npm test", |
| "test": "mocha test/**/*.coffee", |
| "version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md" |
| }, |
| "types": "dist/pad.d.ts", |
| "version": "3.2.0" |
| } |