@stackone/connect-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.es.mjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +31 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# @stackone/connect-sdk
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
|
|
5
|
+
This package contains the StackOne Connect SDK that can be used to easily connect to the StackOne platform and
|
|
6
|
+
also to multiple different API providers.
|
|
7
|
+
|
|
8
|
+
This package uses the tech stack provided by the **Connect Monorepo** global setup. Please check the [root README](../../README.md) for more information.
|
|
9
|
+
|
|
10
|
+
## Requirements
|
|
11
|
+
|
|
12
|
+
Please check the [root README](../../README.md) for requirements.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# install dependencies
|
|
18
|
+
$ npm run install
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Available commands
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# clean build output
|
|
25
|
+
$ npm run clean
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# build package
|
|
30
|
+
$ npm run build
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# run tests
|
|
35
|
+
$ npm run test
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# run tests on watch mode
|
|
40
|
+
$ npm run test:watch
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# run linter
|
|
45
|
+
$ npm run lint
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# run linter and try to fix any error
|
|
50
|
+
$ npm run lint:fix
|
|
51
|
+
```
|
package/dist/index.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(async()=>{console.log("------------------- CONNECT SDK -------------------")})();
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(async()=>{console.log("------------------- CONNECT SDK -------------------")})();
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stackone/connect-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"devDependencies": {},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"package.json",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"clean": "rimraf dist",
|
|
16
|
+
"prebuild": "npm run clean",
|
|
17
|
+
"build": "rollup -c",
|
|
18
|
+
"lint": "tsc --project tsconfig.json && eslint \"src/**/*.ts\"",
|
|
19
|
+
"lint:fix": "npm run lint -- --fix",
|
|
20
|
+
"test": "vitest run",
|
|
21
|
+
"test:watch": "vitest watch",
|
|
22
|
+
"publish": "npm publish --access=public"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [],
|
|
25
|
+
"author": "StackOne",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@stackone/transport": "*",
|
|
29
|
+
"@stackone/open-api": "*"
|
|
30
|
+
}
|
|
31
|
+
}
|