Skip to content

Commit

Permalink
Update README.md and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Bink committed Dec 3, 2024
1 parent 83b77fe commit 819adde
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ Build for production:
npm run build
```

Package plugin for WordPress:

```bash
npm run package
```

## Acknowledgements

- Cloudflare and WP Engine for developing the original plugin this was forked from.
Expand Down
38 changes: 21 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
{
"name": "stream-wordpress",
"version": "1.0.0",
"description": "This is the development mirror for the [Cloudflare Stream Wordpress plugin](https://wordpress.org/plugins/cloudflare-stream).",
"main": "webpack.config.js",
"scripts": {
"build": "wp-scripts build",
"build:dev": "wp-scripts build --env dev",
"lint:css": "wp-scripts lint-style 'src/**/*.css'",
"lint:css-fix": "wp-scripts lint-style 'src/**/*.css' --fix",
"lint:js": "wp-scripts lint-js ./src",
"lint:js-fix": "wp-scripts lint-js ./src --fix",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.1.0",
"description": "A fork from the official Cloudflare Stream plugin 1.0.5 for WordPress.",
"author": "B-Interactive",
"license": "GPL-2.0-or-later",
"keywords": [ "cloudflare", "stream", "wordpress" ],
"homepage": "https://github.com/B-Interactive/cloudflare-stream-wordpress/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/B-Interactive/cloudflare-stream-wordpress.git"
},
"author": "",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/B-Interactive/cloudflare-stream-wordpress/issues"
},
"homepage": "https://github.com/B-Interactive/cloudflare-stream-wordpress/#readme",
"files": [ "dist", "src", "LICENSE", "cloudflare-stream.php"],
"main": "webpack.config.js",
"dependencies": {
"@wordpress/scripts": "^30.6.0",
"tus-js-client": "^4.2.3"
},
"scripts": {
"build": "wp-scripts build",
"build:dev": "wp-scripts build --env dev",
"lint:css": "wp-scripts lint-style 'src/**/*.css'",
"lint:css-fix": "wp-scripts lint-style 'src/**/*.css' --fix",
"lint:js": "wp-scripts lint-js ./src",
"lint:js-fix": "wp-scripts lint-js ./src --fix",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"zip": "wp-scripts plugin-zip --no-root-folder",
"package" : "wp-scripts build && wp-scripts plugin-zip --no-root-folder"
}
}

0 comments on commit 819adde

Please sign in to comment.