You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -325,18 +325,20 @@ Your package.json must include some information for the benchmark. Since you cop
325
325
```
326
326
...
327
327
"js-framework-benchmark": {
328
-
"frameworkVersion": ""
328
+
"frameworkVersion": "",
329
+
"frameworkHomeURL": ""
329
330
},
330
331
...
331
332
```
332
333
333
-
This one is a bit exceptional since vanillajs has no version. If you use a normal framework like react it carries a version information. For most frameworks you'll add a
334
+
This one is a bit exceptional since vanillajs has no version and there no framework involved. If you use a normal framework like react it carries a version information and the framework should have an URL. For most frameworks you'll add a
334
335
dependency to your framework in package.json. The benchmark can automatically determine the correct version information from package.json and package-lock.json if you specify the
335
336
package name like that:
336
337
337
338
```
338
339
"js-framework-benchmark": {
339
340
"frameworkVersionFromPackage": "react"
341
+
"frameworkHomeURL": "https://www.reactjs.org"
340
342
},
341
343
```
342
344
@@ -357,6 +359,7 @@ You can set an optional different URL if needed or specify that your DOM uses a
357
359
Contributions are very welcome. Please use the following rules:
358
360
359
361
- Name your directory frameworks/[keyed|non-keyed]/[FrameworkName]
362
+
- The package.json in your directory must contain some important information see section 4.2 above.
360
363
- Each contribution must be buildable by `npm install` and `npm run build-prod` command in the directory. What build-prod does is up to you. Often there's an `npm run build-dev` that creates a development build
361
364
- Every implementation must use bootstrap provided in the root css directory.
362
365
- All npm dependencies should be installed locally (i.e. listed in your package.json). Http-server or other local web servers should not be local dependencies. It is installed from the root directory to allow access to bootstrap.
0 commit comments