New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

create-proton-app

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-proton-app

Create Proton Native apps

latest
Source
npmnpm
Version
1.1.6
Version published
Weekly downloads
4
-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

Create Proton Native App

Create Proton Native apps with no build configuration. Works on Linux, MacOS and Windows.

Requirements

Windows:

npm install --global --production windows-build-tools

Linux:

Install these libraries:

  • libgtk-3-dev
  • build-essential

Usage

# install the cli
npm install -g create-proton-app
# create your proton native app
create-proton-app my-app
# got to your project directory and have fun!
cd my-app
npm run start

It will create a directory called my-app inside the current folder.
Inside that directory, it will generate the initial project structure and install Proton Native dependencies:

my-app
├── node_modules
├── package.json
├── index.js
└── .babelrc

Packaging

We use electron-builder to handle the packaging for your application. Produces bundles for Linux(appImages, snaps, deb, rpm, ...) and MacOs. Windows support is unstable.

# build your app
npm run build
# bundle it
npm run dist

Only a minimal build/packaging config is provided, as your application grows you should take a look to the documentation.

Contributing

We'd love to have your helping hand!

  • If you like this tool and have an idea of how to improve it or want to add an additional feature, create an issue explaining your idea.
  • Please, avoid using third party libraries for small/simple tasks, make sure we really need that library in our project, such a simple tool shouln't have lots of dependencies that at the same time have their own almost infinite dependency trees.
  • If something doesn’t work, please file an issue.
  • Be nice.

License

Keywords

react

FAQs

Package last updated on 08 May 2018

Did you know?

Socket

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.

Install

Related posts