Add SVG asciicast (#3677)

* Add svg screencast

* Use svg screencast
This commit is contained in:
Mario Nebl
2018-01-09 16:21:52 +01:00
committed by Dan Abramov
parent fd1a2441b7
commit 344ddfa30e
3 changed files with 7 additions and 2 deletions

View File

@@ -19,7 +19,9 @@ npm start
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
When youre ready to deploy to production, create a minified bundle with `npm run build`.
<img src='https://camo.githubusercontent.com/506a5a0a33aebed2bf0d24d3999af7f582b31808/687474703a2f2f692e696d6775722e636f6d2f616d794e66434e2e706e67' width='600' alt='npm start'>
<p align='center'>
<img src='https://cdn.rawgit.com/facebookincubator/create-react-app/6ab67e6b96457720d843aa3c557ff951a41bafc2/screencast.svg' width='600' alt=''>
</p>
### Get Started Immediately

View File

@@ -9,6 +9,7 @@
"postinstall": "node bootstrap.js && cd packages/react-error-overlay/ && npm run build:prod",
"publish": "tasks/release.sh",
"start": "node packages/react-scripts/scripts/start.js",
"screencast": "svg-term --cast hItN7sl5yfCPTHxvFg5glhhfp --out screencast.svg --window",
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
"precommit": "lint-staged"
@@ -19,7 +20,8 @@
"lerna": "^2.0.0",
"lerna-changelog": "^0.6.0",
"lint-staged": "^3.3.1",
"prettier": "1.6.1"
"prettier": "1.6.1",
"svg-term-cli": "^2.0.3"
},
"lint-staged": {
"*.js": [

1
screencast.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 64 KiB