Skip to content

just show package.json scripts, just like old npm run [Tab] 记得旧的 npm run [tab]吗

License

Notifications You must be signed in to change notification settings

chinanf-boy/pkg-scripts

Repository files navigation

pkg-scripts Build Status codecov

cli to show package.json scripts

中文 | english

Install

npm i -g pkg-scripts
pkg-scripts

test

Usage

const pkgScripts = require('pkg-scripts');
//=> just return package.json scripts

await pkgScripts(); // Promise
pkgScripts.sync(); // sync

API

pkgScripts

name: pkgScripts
Type: function:Promise
Desc: return package.json scripts

sync

name: sync
Type: function
Desc: return package.json scripts

return

name: return
Type: Object
Desc: package.json scripts

Use

License

MIT © chinanf-boy

About

just show package.json scripts, just like old npm run [Tab] 记得旧的 npm run [tab]吗

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published