Skip to content

Commit fbce328

Browse files
authored
Merge pull request #1632 from sveltejs/gh-1614
tweak readme, use npm ci
2 parents e35f174 + 917cad9 commit fbce328

File tree

3 files changed

+24
-41
lines changed

3 files changed

+24
-41
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ addons:
1515
install:
1616
- export DISPLAY=':99.0'
1717
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
18-
- npm install
18+
- npm ci || npm install
1919

2020
after_success: npm run codecov

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,13 @@ The `style` and `script` preprocessors will run *after* the `markup` preprocesso
132132

133133
## Example/starter repos
134134

135+
* [sveltejs/template](https://github.com/sveltejs/template) — the 'official' starter template
136+
* [sveltejs/template-webpack](https://github.com/sveltejs/template-webpack) — using webpack for bundling
135137
* [charpeni/svelte-example](https://github.com/charpeni/svelte-example) - Some Svelte examples with configured Rollup, Babel, ESLint, directives, Two-Way binding, and nested components
136138
* [EmilTholin/svelte-test](https://github.com/EmilTholin/svelte-test)
137139
* [lukechinworth/codenames](https://github.com/lukechinworth/codenames/tree/svelte) – example integration with Redux
138140
* [khtdr/svelte-redux-shopping-cart](https://github.com/khtdr/svelte-redux-shopping-cart) – Redux Shopping Cart example (with devtools and hot-reloading)
139141

140-
## BrowserStack
141-
<img src="https://cdn.worldvectorlogo.com/logos/browserstack.svg" height="80" width="80" align="left">
142-
<p>To keep Svelte's performance in check, we use BrowserStack to quickly run benchmarks for each PR that immediately give feedback to the contributor. You can see how we use BrowserStack in the <a href="https://github.com/sveltejs/svelte-bench">svelte-bench</a> project and check out BrowserStack's services on their <a href="https://www.browserstack.com/">website</a>.</p>
143-
144142
## Development
145143

146144
Pull requests are encouraged and always welcome. [Pick an issue](https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and help us out!
@@ -154,6 +152,8 @@ npm install
154152
npm run dev
155153
```
156154

155+
The compiler is written in [TypeScript](https://www.typescriptlang.org/), but don't let that put you off — it's basically just JavaScript with type annotations. You'll pick it up in no time. If you're using an editor other than [VSCode](https://code.visualstudio.com/) you may need to install a plugin in order to get syntax highlighting and code hints etc.
156+
157157
### Linking to a Live Project
158158

159159
You can make changes locally to Svelte and test it against any Svelte project. You can also use a [default template](https://github.com/sveltejs/template) for development. Instruction on setup are found in that project repository.

package-lock.json

Lines changed: 19 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)