Skip to content

Commit 4ab08ab

Browse files
committed
rename project
1 parent 7f8b3e1 commit 4ab08ab

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,14 @@ spotifyApi
362362

363363
Get great code completion for this package using the integrated typescript typings. It includes the complete typings of the Spotify Web Api too, so you'll know both how to the navigate the API as well as the response you are getting.
364364

365-
![Typings Example](https://raw.githubusercontent.com/schl3ck/spotify-web-api-js/master/typings-example.gif)
365+
![Typings Example](https://raw.githubusercontent.com/schl3ck/spotify-web-api-scriptable/master/typings-example.gif)
366366

367367
### When bundling the library
368368

369369
If you are bundling spotify-web-api-js using e.g. webpack you can include the library and the typings into a typescript file like this:
370370

371371
```typescript
372-
import SpotifyWebApi from 'spotify-web-api-js';
372+
import SpotifyWebApi from 'spotify-web-api-scriptable';
373373

374374
let spotify = new SpotifyWebApi();
375375
```
@@ -379,7 +379,7 @@ let spotify = new SpotifyWebApi();
379379
If you are using the library globally, for example including directly from index.html, include the typings in the top of your typescript file. Typescript will then assume the library is already present globally. Adjust the path to `node_modules`.
380380

381381
```typescript
382-
/// <reference path="../node_modules/spotify-web-api-js/src/typings/spotify-web-api.d.ts" />
382+
/// <reference path="../node_modules/spotify-web-api-scriptable/src/typings/spotify-web-api.d.ts" />
383383

384384
let spotify = new SpotifyWebApi();
385385
```

package-lock.json

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "spotify-web-api-js",
3-
"description": "A client-side JS wrapper for the Spotify Web API",
2+
"name": "spotify-web-api-scriptable",
3+
"description": "A client-side JS wrapper for the Spotify Web API in Scriptable",
44
"version": "1.5.2",
5-
"homepage": "https://github.com/JMPerez/spotify-web-api-js",
5+
"homepage": "https://github.com/schl3ck/spotify-web-api-scriptable",
66
"author": {
7-
"name": "José M. Pérez"
7+
"name": "schl3ck"
88
},
99
"license": "MIT",
1010
"main": "src/spotify-web-api.js",
1111
"typings": "src/typings/spotify-web-api.d.ts",
1212
"repository": {
1313
"type": "git",
14-
"url": "git://github.com/JMPerez/spotify-web-api-js"
14+
"url": "git://github.com/schl3ck/spotify-web-api-scriptable"
1515
},
1616
"devDependencies": {
1717
"@types/scriptable-ios": "^1.6.4",

0 commit comments

Comments
 (0)