Skip to content

Commit acf5dd6

Browse files
authored
chore(scripts): add extra install scripts for other react versions
1 parent 530c47e commit acf5dd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"docs:dev": "docz dev",
4444
"docs:build": "docz build",
4545
"contributors:add": "all-contributors add",
46-
"install-16": "npm install --save-dev react@\"^16.9.0\" react-dom@\"^16.9.0\" react-test-renderer@\"^16.9.0\""
46+
"install:react-16-9": "npm install --no-save [email protected] [email protected] [email protected]",
47+
"install:react-16": "npm install --no-save react@^16 react-dom@^16 react-test-renderer@^16",
48+
"install:react-17": "npm install --no-save react@^17 react-dom@^17 react-test-renderer@^17"
4749
},
4850
"dependencies": {
4951
"@babel/runtime": "^7.12.5",

0 commit comments

Comments
 (0)