Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fitbit-sdk-types

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fitbit-sdk-types - npm Package Compare versions

Comparing version 3.3.0-1 to 4.0.0-0

7

package.json
{
"name": "fitbit-sdk-types",
"version": "3.3.0-1",
"version": "4.0.0-0",
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>",

@@ -22,3 +22,2 @@ "description": "Types for Fitbit SDK.",

},
"types": "types",
"scripts": {

@@ -36,5 +35,5 @@ "test:app": "tsc -p test-code-samples/app",

"devDependencies": {
"@types/node": "^10.12.27",
"@types/node": "^11.11.3",
"prettier": "^1.16.4",
"tslint": "^5.13.0",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",

@@ -41,0 +40,0 @@ "typescript": "^3.3.3333"

@@ -12,4 +12,44 @@ # Fitbit SDK Types ✔

2. Then, from that project root, run `npx fitbit-sdk-types apply` to apply TypeScript to your existing Fitbit project.
3. Profit!
You can also do it manually wit the following basic configuration files:
- `app/tsconfig.json`
```json
{
"extends": "../tsconfig.json",
"include": ["**/*.ts", "../node_modules/fitbit-sdk-types/types/device"]
}
```
- `companion/tsconfig.json`
```json
{
"extends": "../tsconfig.json",
"include": ["**/*.ts", "../node_modules/fitbit-sdk-types/types/companion"]
}
```
- `settings/tsconfig.json`
```json
{
"extends": "../tsconfig.json",
"include": [
"**/*.ts",
"**/*.tsx",
"../node_modules/fitbit-sdk-types/types/settings"
]
}
```
- `tsconfig.json`:
```json
{
"extends": "./node_modules/@fitbit/sdk/sdk-tsconfig.json"
}
```
## Benefits of using types

@@ -16,0 +56,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc