Skip to content

Commit fef4ab2

Browse files
committed
update docs
1 parent 61fcaa4 commit fef4ab2

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ assets/**/*.css
2525
build
2626
lib
2727
coverage
28+
yarn.lock

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,16 @@ npm start
183183

184184
## Test Case
185185

186-
[http://localhost:8007/tests/runner.html?coverage](http://localhost:8007/tests/runner.html?coverage)
186+
```bash
187+
npm test
188+
npm run chrome-test
189+
```
187190

188191
## Coverage
189192

190-
[http://localhost:8007/node_modules/rc-server/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8007/tests/runner.html?coverage](http://localhost:8007/node_modules/rc-server/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8007/tests/runner.html?coverage)
193+
```bash
194+
npm run coverage
195+
```
191196

192197
## License
193198

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@
3232
"build": "rc-tools run build",
3333
"gh-pages": "rc-tools run gh-pages",
3434
"start": "rc-tools run server",
35-
"pub": "rc-tools run pub",
35+
"pub": "rc-tools run pub --babel-runtime",
3636
"lint": "rc-tools run lint",
3737
"karma": "rc-tools run karma",
3838
"saucelabs": "rc-tools run saucelabs",
3939
"test": "rc-tools run test",
40+
"prepublish": "rc-tools run guard",
4041
"chrome-test": "rc-tools run chrome-test",
4142
"coverage": "rc-tools run coverage"
4243
},

0 commit comments

Comments
 (0)