Skip to content

Commit 0500372

Browse files
committed
fix: ejs render issue by hard coding npm run in readmes
1 parent 3ebfc1a commit 0500372

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Demoing with Storybook
22
To run a local instance of Storybook for your component, run
33
```bash
4-
<%= scriptRunCommand %> storybook
4+
npm run storybook
55
```
66

77
To build a production version of Storybook, run
88
```bash
9-
<%= scriptRunCommand %> storybook:build
9+
npm run storybook:build
1010
```
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
## Linting with ESLint, Prettier, and Types
22
To scan the project for linting errors, run
33
```bash
4-
<%= scriptRunCommand %> lint
4+
npm run lint
55
```
66

77
You can lint with ESLint and Prettier individually as well
88
```bash
9-
<%= scriptRunCommand %> lint:eslint
9+
npm run lint:eslint
1010
```
1111
```bash
12-
<%= scriptRunCommand %> lint:prettier
12+
npm run lint:prettier
1313
```
1414

1515
To automatically fix many linting errors, run
1616
```bash
17-
<%= scriptRunCommand %> format
17+
npm run format
1818
```
1919

2020
You can format using ESLint and Prettier individually as well
2121
```bash
22-
<%= scriptRunCommand %> format:eslint
22+
npm run format:eslint
2323
```
2424
```bash
25-
<%= scriptRunCommand %> format:prettier
25+
npm run format:prettier
2626
```
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Testing with Web Test Runner
22
To run the suite of Web Test Runner tests, run
33
```bash
4-
<%= scriptRunCommand %> test
4+
npm run test
55
```
66

77
To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run
88

99
```bash
10-
<%= scriptRunCommand %> test:watch
10+
npm run test:watch
1111
```
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Demoing with Storybook
22
To run a local instance of Storybook for your component, run
33
```bash
4-
<%= scriptRunCommand %> storybook
4+
npm run storybook
55
```
66

77
To build a production version of Storybook, run
88
```bash
9-
<%= scriptRunCommand %> storybook:build
9+
npm run storybook:build
1010
```
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
## Linting with ESLint, Prettier, and Types
22
To scan the project for linting errors, run
33
```bash
4-
<%= scriptRunCommand %> lint
4+
npm run lint
55
```
66

77
You can lint with ESLint and Prettier individually as well
88
```bash
9-
<%= scriptRunCommand %> lint:eslint
9+
npm run lint:eslint
1010
```
1111
```bash
12-
<%= scriptRunCommand %> lint:prettier
12+
npm run lint:prettier
1313
```
1414

1515
To automatically fix many linting errors, run
1616
```bash
17-
<%= scriptRunCommand %> format
17+
npm run format
1818
```
1919

2020
You can format using ESLint and Prettier individually as well
2121
```bash
22-
<%= scriptRunCommand %> format:eslint
22+
npm run format:eslint
2323
```
2424
```bash
25-
<%= scriptRunCommand %> format:prettier
25+
npm run format:prettier
2626
```
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Testing with Web Test Runner
22
To run the suite of Web Test Runner tests, run
33
```bash
4-
<%= scriptRunCommand %> test
4+
npm run test
55
```
66

77
To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run
88

99
```bash
10-
<%= scriptRunCommand %> test:watch
10+
npm run test:watch
1111
```

0 commit comments

Comments
 (0)