typicode / Pkg Ok
Licence: mit
π Checks paths and scripts defined in package.json before you publish
Stars: β 219
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Pkg Ok
Typac
install npm packages along with corresponding typings
Stars: β 29 (-86.76%)
Mutual labels: cli, package
Matrix Commander
simple but convenient CLI-based Matrix client app for sending and receiving
Stars: β 90 (-58.9%)
Mutual labels: publish, cli
Gub
CLI tool for create an npm package from any repos. π³
Stars: β 31 (-85.84%)
Mutual labels: cli, package
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: β 900 (+310.96%)
Mutual labels: cli, test
Semantic Release
π¦π Fully automated version management and package publishing
Stars: β 14,364 (+6458.9%)
Mutual labels: publish, package
Start Server And Test
Starts server, waits for URL, then runs test command; when the tests end, shuts down server
Stars: β 879 (+301.37%)
Mutual labels: cli, test
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust-
generated WebAssembly that you would like to interop with JavaScript, in the
browser or with Node.js. wasm-pack helps you build rust-generated
WebAssembly packages that you could publish to the npm registry, or otherwise use
alongside any javascript packages in workflows that you already use, such as webpack.
Stars: β 3,848 (+1657.08%)
Mutual labels: cli, package
Headlesschrome
A Go package for working with headless Chrome. Run interactive JavaScript commands on web pages with Go and Chrome.
Stars: β 112 (-48.86%)
Mutual labels: cli, package
Gest
π¨βπ» A sensible GraphQL testing tool - test your GraphQL schema locally and in the cloud
Stars: β 109 (-50.23%)
Mutual labels: cli, test
Npmvet
A simple CLI tool for vetting npm package versions
Stars: β 193 (-11.87%)
Mutual labels: cli, package
Release It
π Automate versioning and package publishing
Stars: β 4,773 (+2079.45%)
Mutual labels: publish, cli
Elm Package
Command line tool to share Elm libraries
Stars: β 214 (-2.28%)
Mutual labels: publish, package
Apio
π± Open source ecosystem for open FPGA boards
Stars: β 366 (+67.12%)
Mutual labels: cli, package
Gosearch
π Search the Go packages via command-line
Stars: β 48 (-78.08%)
Mutual labels: cli, package
Construct
A PHP project/micro-package generator for PDS compliant projects or micro-packages.
Stars: β 257 (+17.35%)
Mutual labels: cli, package
Cli
ππ Setup automated semver compliant package publishing
Stars: β 272 (+24.2%)
Mutual labels: publish, package
Npm Try
π Quickly try npm packages without writing boilerplate code.
Stars: β 103 (-52.97%)
Mutual labels: cli, package
pkg-ok
pkg-ok
checks paths and scripts defined inpackage.json
before you publish π
- Ensures paths defined in
main
,bin
,module
,types
,typings
,es2015
andbrowser
exist - Ensures
bin
scripts use cross-platform line endings
Usage
npm install pkg-ok --save-dev
// package.json
{
"main": "oops_this_file_doesnt_exist.js",
"scripts": {
"prepublishOnly": "... && pkg-ok"
}
}
npm publish
# Error!
# Since main file doesn't exist, publish is blocked
Options
pkg-ok
can be configured to check additional package.json
fields or bin files
pkgOk --field someField --bin script.sh
API
const pkgDirectory = __dirname
pkgOk(pkgDirectory, {
fields: ['someAdditonalField'],
bin: ['someAdditionalScript.sh']
})
License
MIT
Patreon - Supporters β¨
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].