npm init -y
npm install react@npm:preact@8
npm outdated
npm install react@npm:preact@latest
npm outdated
cat package.json
{
"name": "new-module",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"dependencies": {
"react": "npm:preact@^10.4.6"
}
}