Skip to content

Commit 341d416

Browse files
authored
Merge pull request #3 from Webperf-se/rename-package
Renamed npm package
2 parents 1b65c7b + 7edfbf0 commit 341d416

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# plugin-js
1+
# plugin-javascript
22
Javascript plugin for sitespeed.io
33

44
## Overview
55

6-
The `plugin-js` is a plugin for [sitespeed.io](https://www.sitespeed.io/) that helps identify and log "Javascript" (JS) errors during web testing. It integrates with sitespeed.io to provide detailed information about JS errors.
6+
The `plugin-javascript` is a plugin for [sitespeed.io](https://www.sitespeed.io/) that helps identify and log "Javascript" (JS) errors during web testing. It integrates with sitespeed.io to provide detailed information about JS errors.
77

88
## Features
99

@@ -13,7 +13,7 @@ The `plugin-js` is a plugin for [sitespeed.io](https://www.sitespeed.io/) that h
1313
To install the plugin, run the following command:
1414

1515
```sh
16-
npm install plugin-js
16+
npm install plugin-javascript
1717
```
1818

1919
## Usage
@@ -27,7 +27,7 @@ Add the plugin to your sitespeed.io configuration file:
2727
```json
2828
{
2929
"plugins": {
30-
"plugin-js": {
30+
"plugin-javascript": {
3131
"enabled": true
3232
}
3333
}
@@ -39,15 +39,15 @@ Add the plugin to your sitespeed.io configuration file:
3939
You can also enable the plugin via the command line:
4040

4141
```sh
42-
sitespeed.io --plugins.add plugin-js
42+
sitespeed.io --plugins.add plugin-javascript
4343
```
4444

4545
## Example
4646

4747
Here is an example of how to use the plugin with sitespeed.io:
4848

4949
```sh
50-
sitespeed.io https://www.example.com --plugins.add plugin-js
50+
sitespeed.io https://www.example.com --plugins.add plugin-javascript
5151
```
5252

5353
## Development

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { SitespeedioPlugin } from '@sitespeed.io/plugin';
22
import { HarAnalyzer } from './harAnalyzer.js';
33

44
// https://www.sitespeed.io/documentation/sitespeed.io/plugins/#create-your-own-plugin
5-
// node bin\sitespeed.js -b edge -n 1 --plugins.add analysisstorer --plugins.add ../../../plugin-js/lib/index.js --browsertime.chrome.includeResponseBodies all https://webperf.se
5+
// node bin\sitespeed.js -b edge -n 1 --plugins.add analysisstorer --plugins.add ../../../plugin-javascript/lib/index.js --browsertime.chrome.includeResponseBodies all https://webperf.se
66

7-
const pluginname = 'webperf-plugin-js'
7+
const pluginname = 'webperf-plugin-javascript'
88

99
export default class JavascriptPlugin extends SitespeedioPlugin {
1010
constructor(options, context, queue) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "plugin-js",
2+
"name": "plugin-javascript",
33
"version": "2025.3.1",
44
"type": "module",
55
"exports": "./lib/index.js",
@@ -9,7 +9,7 @@
99
"description": "Javascript plugin for sitespeed.io",
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/Webperf-se/plugin-js.git"
12+
"url": "git+https://github.com/Webperf-se/plugin-javascript.git"
1313
},
1414
"keywords": [
1515
"sitespeed.io",
@@ -21,7 +21,7 @@
2121
],
2222
"license": "MIT",
2323
"bugs": {
24-
"url": "https://github.com/Webperf-se/plugin-js/issues"
24+
"url": "https://github.com/Webperf-se/plugin-javascript/issues"
2525
},
2626
"husky": {
2727
"hooks": {

0 commit comments

Comments
 (0)