Skip to content

Commit cb22016

Browse files
Readme: Added Node and npm version requirements (#2790)
1 parent 9b784eb commit cb22016

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Prism depends on community contributions to expand and cover a wider array of us
2727

2828
Thank you so much for contributing!!
2929

30+
### Software requirements
31+
32+
Prism will run on [almost any browser](https://prismjs.com/#features-full) and Node.js version but you need the following software to contribute:
33+
34+
- Node.js >= 10.x
35+
- npm >= 6.x
36+
3037
## Translations
3138

3239
* [简体中文](https://www.awesomes.cn/repo/PrismJS/prism) (if unavailable, see [here](https://deepmind.t-salon.cc/article/113))

docs/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ <h2>Contribute to Prism!</h2>
7272
<li>Go to <a href="https://github.com/PrismJS/prism-themes">prism-themes</a> if you want to add a new theme.</li>
7373
</ul>
7474
<p>Thank you so much for contributing!!</p>
75+
<h3>Software requirements</h3>
76+
<p>Prism will run on <a href="https://prismjs.com/#features-full">almost any browser</a> and Node.js version but you need the following software to contribute:</p>
77+
<ul>
78+
<li>Node.js &gt;= 10.x</li>
79+
<li>npm &gt;= 6.x</li>
80+
</ul>
7581
<h2>Translations</h2>
7682
<ul>
7783
<li><a href="https://www.awesomes.cn/repo/PrismJS/prism">简体中文</a> (if unavailable, see <a href="https://deepmind.t-salon.cc/article/113">here</a>)</li>

0 commit comments

Comments
 (0)