Skip to content

Commit 9c4f105

Browse files
author
Thierry Charbonnel
committed
add link command
1 parent 2e142b0 commit 9c4f105

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"prepublishOnly": "npm run build",
1515
"predeploy": "cd ./example && npm install && npm run export",
1616
"deploy": "touch ./example/out/.nojekyll && gh-pages -d ./example/out -t true",
17-
"test": "echo \"Error: no test specified\" && exit 1"
17+
"test": "echo \"Error: no test specified\" && exit 1",
18+
"link": "npm run build && npm link && cd ./example && npm link @ap.cx/react-scrollama-wrapper"
1819
},
1920
"author": "thierryc",
2021
"license": "MIT",
@@ -26,7 +27,7 @@
2627
"peerDependencies": {
2728
"react": "17.x || 18.x",
2829
"react-dom": "17.x || 18.x",
29-
"scrollama": "2.x"
30+
"scrollama": "3.x"
3031
},
3132
"devDependencies": {
3233
"@babel/core": "^7.16.0",

0 commit comments

Comments
 (0)