npm

freemius-deployer

1.0.3 • Public • Published

freemius-deployer

Deploy WordPress plugin to Freemius from the 'build' directory

Install

npm install --save-dev freemius-deployer

Example

In package.json scripts:

...
"freemiusDeployer": {
  "zipPath": "deploy/",
  "zipName": "my-project.zip",
  "addContributor": false
},
...
"scripts": {
  ...
  "deploy": "freemius-deployer"
}

Configure .env with following keys. (Important: Please make sure .env is gitignored as this contains sensitive information.)

FS__API_DEV_ID=12345
FS__API_PLUGIN_ID=12345
FS__API_PUBLIC_KEY="pk_YOUR_PUBLIC_KEY"
FS__API_SECRET_KEY="sk_YOUR_SECRET_KEY"

Package Sidebar

Install

npm i freemius-deployer

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.58 kB

Total Files

3

Last publish

Collaborators

  • nilambar