@browserbasehq/sdk-functions 0.0.5 → 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 +203 -0
- package/dist/cli.js +46 -32
- package/dist/cli.js.map +1 -1
- package/package.json +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@browserbasehq/sdk-functions",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"./dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "
|
|
26
|
+
"build": "rm -rf dist && tsup",
|
|
27
27
|
"build:tests": "tsc --project tsconfig.test.json",
|
|
28
28
|
"eslint": "eslint ./src",
|
|
29
29
|
"eslint:fix": "eslint --fix ./src",
|
|
@@ -32,6 +32,13 @@
|
|
|
32
32
|
"prettier:fix": "prettier . --write --cache",
|
|
33
33
|
"test": "$npm_execpath build:tests && node --test dist-test/**/*.test.js",
|
|
34
34
|
"test:only": "$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js",
|
|
35
|
+
"build:integration": "tsc --project tsconfig.integration.json",
|
|
36
|
+
"pretest:integration": "$npm_execpath run build && pnpm pack",
|
|
37
|
+
"test:integration": "$npm_execpath run build:integration && node --test --test-timeout 120000 dist-integration-test/tests/integration/**/*.test.js",
|
|
38
|
+
"posttest:integration": "rm -f browserbasehq-sdk-functions-*.tgz",
|
|
39
|
+
"pretest:e2e": "$npm_execpath run build && pnpm pack",
|
|
40
|
+
"test:e2e": "$npm_execpath run build:integration && node --test --test-timeout 300000 dist-integration-test/tests/e2e/**/*.test.js",
|
|
41
|
+
"posttest:e2e": "rm -f browserbasehq-sdk-functions-*.tgz",
|
|
35
42
|
"typecheck": "tsc --noEmit"
|
|
36
43
|
},
|
|
37
44
|
"keywords": [],
|