Skip to content

Commit c7e3646

Browse files
authored
Recommend npm instead (#30)
1 parent c558e4e commit c7e3646

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hosted `v0.js`).
1313
First, add the `@ampproject/storybook-addon` to your project:
1414

1515
```sh
16-
yarn add @ampproject/storybook-addon --dev
16+
npm install --save-dev @ampproject/storybook-addon
1717
```
1818

1919
Second, register the `@ampproject/storybook-addon` to your

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
},
4545
"scripts": {
4646
"dev": "tsc --watch --preserveWatchOutput",
47-
"build": "yarn build:esm && yarn build:cjs",
47+
"build": "npm run build:esm && npm run build:cjs",
4848
"build:esm": "tsc",
4949
"build:cjs": "tsc --module commonjs --outDir cjs",
5050
"test": "echo 'No tests' && exit 0",
5151
"clean": "rm -r esm cjs",
52-
"prepublishOnly": "yarn build",
52+
"prepublishOnly": "npm run build",
5353
"storybook": "start-storybook -p 9009 -s public -c test/.storybook",
5454
"build-storybook": "build-storybook -s public -c test/.storybook"
5555
},

0 commit comments

Comments
 (0)