![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Preppy - A Simple and lightweight tool for preparing the publish of NPM packages.
Preppy includes a Babel-based transpiler configuration which supports all of ES2015/ES2016/ES2017. Plus support for Object-Rest-Spread and Class Properties. The High-performance async engine with support for generators and async/await powered by fast-async is enabled by default. It requires nodent-runtime to be installed when using modern async features. It uses Transform-Runtime to externalize requirements to Polyfills. Resulting code needs all Polyfills for each library published with this tool. Typically by using services like polyfill.io or Babel Runtime aka CoreJS.
Preppy produces exports of your sources depending on the entries of your packages package.json
. It supports building for CommonJS and well as with ES Modules (ESM). Just add the relevant entries to the configuration.
main
module
Basic Example:
{
"name": "mypackage",
"main": "lib/main-cjs.js",
"module": "lib/main-esm.js"
}
Additionally prepublish
is capable in generating for binary targets.
This generates a mypackage
binary which is generated from the matching source file.
Binaries are generally generated from one of these source files:
src/binary.js
src/script.js
Example Configuration:
{
"name": "mypackage",
"bin": {
"mypackage": "bin/mypackage"
}
}
$ npm install --save-dev preppy
$ yarn add --dev preppy
Preppy comes with a binary which can be called from within your scripts
section
in the package.json
file.
"scripts": {
"prepare": "preppy"
}
There is also some amount of parameters you can use if the auto detection of your library does not work out correctly.
Usage
$ preppy
Options
--input Input file [default = auto]
--output-folder Configure the output folder [default = auto]
-m, --sourcemap Create a source map file during processing
-v, --verbose Verbose output mode [default = false]
-q, --quiet Quiet output mode [default = false]
Apache License; Version 2.0, January 2004
Copyright 2016-2017
Sebastian Software GmbH
FAQs
A simple and lightweight tool for preparing the publish of NPM packages.
The npm package preppy receives a total of 46 weekly downloads. As such, preppy popularity was classified as not popular.
We found that preppy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.