@saasquatch/squatch-js 2.5.0 → 2.5.1-1
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/CHANGELOG.md +326 -326
- package/LICENSE +20 -20
- package/README.md +145 -145
- package/demo/sandbox.ts +124 -124
- package/demo/toolbar.tsx +526 -526
- package/dist/squatch.esm.js +8 -1
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +8 -1
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +2 -2
- package/dist/squatch.min.js.map +1 -1
- package/dist/squatch.modern.js +1 -1
- package/dist/squatch.modern.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +105 -105
package/package.json
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@saasquatch/squatch-js",
|
|
3
|
-
"version": "2.5.
|
|
4
|
-
"description": "The official Referral SaaSquatch Javascript Web/Browser SDK https://docs.referralsaasquatch.com/developer/squatchjs/",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "ReferralSaaSquatch.com, Inc.",
|
|
7
|
-
"types": "dist/squatch.d.ts",
|
|
8
|
-
"source": "src/squatch.ts",
|
|
9
|
-
"main": "dist/squatch.js",
|
|
10
|
-
"module": "dist/squatch.esm.js",
|
|
11
|
-
"umd:main": "dist/squatch.min.js",
|
|
12
|
-
"browser": "dist/squatch.min.js",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/saasquatch/squatch-js/issues",
|
|
15
|
-
"email": "support@referralsaasquatch.com"
|
|
16
|
-
},
|
|
17
|
-
"engines": {
|
|
18
|
-
"node": ">=12.16.0"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://github.com/saasquatch/squatch-js.git"
|
|
23
|
-
},
|
|
24
|
-
"tsd": {
|
|
25
|
-
"directory": "test/tsd"
|
|
26
|
-
},
|
|
27
|
-
"sideEffects": false,
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build:es": "microbundle --target node --format cjs,es",
|
|
30
|
-
"build:umd": "webpack",
|
|
31
|
-
"build": "run-s build:es build:umd",
|
|
32
|
-
"watch": "webpack --watch",
|
|
33
|
-
"declaration": "tsc --emitDeclarationOnly",
|
|
34
|
-
"test:browser": "cucumber-js",
|
|
35
|
-
"test:webkit": "cross-env BROWSER=webkit cucumber-js",
|
|
36
|
-
"test:firefox": "cross-env BROWSER=firefox cucumber-js",
|
|
37
|
-
"test:types": "tsd",
|
|
38
|
-
"test": "run-s test:types test:browser",
|
|
39
|
-
"build:docs": "typedoc --out docs/ src/ ",
|
|
40
|
-
"deploy": "np --no-cleanup",
|
|
41
|
-
"deploy:docs": "surge ./ -d squathjsv2.surge.sh",
|
|
42
|
-
"preversion": "run-s build",
|
|
43
|
-
"demo": "msw init demo/dist/ --save && run-p static parcel",
|
|
44
|
-
"demo:deploy": "run-s parcel:build parcel:deploy",
|
|
45
|
-
"static": "serve -l 3333 -s dist",
|
|
46
|
-
"parcel": "cd demo && parcel index.html",
|
|
47
|
-
"parcel:build": "cd demo && parcel build index.html",
|
|
48
|
-
"parcel:deploy": "surge demo/dist -d squathjs-demo.surge.sh"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.14.3",
|
|
52
|
-
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
53
|
-
"@babel/plugin-transform-runtime": "^7.14.3",
|
|
54
|
-
"@babel/preset-env": "^7.14.2",
|
|
55
|
-
"@babel/preset-typescript": "^7.13.0",
|
|
56
|
-
"@babel/register": "^7.13.16",
|
|
57
|
-
"@babel/runtime-corejs2": "^7.14.0",
|
|
58
|
-
"@types/chai": "^4.2.11",
|
|
59
|
-
"@types/cucumber": "^6.0.1",
|
|
60
|
-
"@types/debug": "4.1.5",
|
|
61
|
-
"@types/express": "^4.17.6",
|
|
62
|
-
"@types/js-cookie": "^2.2.6",
|
|
63
|
-
"@types/jsdom-global": "^3.0.2",
|
|
64
|
-
"@types/react": "^16.9.35",
|
|
65
|
-
"@types/superagent": "^4.1.7",
|
|
66
|
-
"@ungap/url-search-params": "^0.2.0",
|
|
67
|
-
"babel-loader": "^8.2.2",
|
|
68
|
-
"base64-url": "^2.3.3",
|
|
69
|
-
"chai": "^4.2.0",
|
|
70
|
-
"cross-env": "^7.0.2",
|
|
71
|
-
"cucumber": "^6.0.5",
|
|
72
|
-
"express": "^4.17.1",
|
|
73
|
-
"microbundle": "^0.13.0",
|
|
74
|
-
"msw": "^0.36.0",
|
|
75
|
-
"np": "^6.2.3",
|
|
76
|
-
"npm-run-all": "^4.1.5",
|
|
77
|
-
"parcel": "^1.12.3",
|
|
78
|
-
"parcel-bundler": "^1.12.4",
|
|
79
|
-
"playwright": "^1.33.0-alpha-mar-29-2023",
|
|
80
|
-
"react": "^16.13.1",
|
|
81
|
-
"react-bootstrap": "^1.0.1",
|
|
82
|
-
"react-dom": "^16.13.1",
|
|
83
|
-
"react-url-query": "^1.5.0",
|
|
84
|
-
"serve": "^11.3.0",
|
|
85
|
-
"ts-loader": "^7.0.4",
|
|
86
|
-
"ts-node": "^8.10.2",
|
|
87
|
-
"tsd": "^0.13.1",
|
|
88
|
-
"typedoc": "^0.17.7",
|
|
89
|
-
"typescript": "^3.9.3",
|
|
90
|
-
"webpack": "^4.46.0",
|
|
91
|
-
"webpack-cli": "^3.3.12",
|
|
92
|
-
"webpack-visualizer-plugin": "^0.1.11"
|
|
93
|
-
},
|
|
94
|
-
"prettier": {},
|
|
95
|
-
"dependencies": {
|
|
96
|
-
"debug": "^3.2.6",
|
|
97
|
-
"eventbusjs": "^0.2.0",
|
|
98
|
-
"js-cookie": "^2.2.1",
|
|
99
|
-
"superagent": "^5.2.2"
|
|
100
|
-
},
|
|
101
|
-
"browserslist": "> 0.25%, not dead",
|
|
102
|
-
"msw": {
|
|
103
|
-
"workerDirectory": "demo/dist"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@saasquatch/squatch-js",
|
|
3
|
+
"version": "2.5.1-1",
|
|
4
|
+
"description": "The official Referral SaaSquatch Javascript Web/Browser SDK https://docs.referralsaasquatch.com/developer/squatchjs/",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "ReferralSaaSquatch.com, Inc.",
|
|
7
|
+
"types": "dist/squatch.d.ts",
|
|
8
|
+
"source": "src/squatch.ts",
|
|
9
|
+
"main": "dist/squatch.js",
|
|
10
|
+
"module": "dist/squatch.esm.js",
|
|
11
|
+
"umd:main": "dist/squatch.min.js",
|
|
12
|
+
"browser": "dist/squatch.min.js",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/saasquatch/squatch-js/issues",
|
|
15
|
+
"email": "support@referralsaasquatch.com"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=12.16.0"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/saasquatch/squatch-js.git"
|
|
23
|
+
},
|
|
24
|
+
"tsd": {
|
|
25
|
+
"directory": "test/tsd"
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build:es": "microbundle --target node --format cjs,es",
|
|
30
|
+
"build:umd": "webpack",
|
|
31
|
+
"build": "run-s build:es build:umd",
|
|
32
|
+
"watch": "webpack --watch",
|
|
33
|
+
"declaration": "tsc --emitDeclarationOnly",
|
|
34
|
+
"test:browser": "cucumber-js",
|
|
35
|
+
"test:webkit": "cross-env BROWSER=webkit cucumber-js",
|
|
36
|
+
"test:firefox": "cross-env BROWSER=firefox cucumber-js",
|
|
37
|
+
"test:types": "tsd",
|
|
38
|
+
"test": "run-s test:types test:browser",
|
|
39
|
+
"build:docs": "typedoc --out docs/ src/ ",
|
|
40
|
+
"deploy": "np --no-cleanup",
|
|
41
|
+
"deploy:docs": "surge ./ -d squathjsv2.surge.sh",
|
|
42
|
+
"preversion": "run-s build",
|
|
43
|
+
"demo": "msw init demo/dist/ --save && run-p static parcel",
|
|
44
|
+
"demo:deploy": "run-s parcel:build parcel:deploy",
|
|
45
|
+
"static": "serve -l 3333 -s dist",
|
|
46
|
+
"parcel": "cd demo && parcel index.html",
|
|
47
|
+
"parcel:build": "cd demo && parcel build index.html",
|
|
48
|
+
"parcel:deploy": "surge demo/dist -d squathjs-demo.surge.sh"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@babel/core": "^7.14.3",
|
|
52
|
+
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
53
|
+
"@babel/plugin-transform-runtime": "^7.14.3",
|
|
54
|
+
"@babel/preset-env": "^7.14.2",
|
|
55
|
+
"@babel/preset-typescript": "^7.13.0",
|
|
56
|
+
"@babel/register": "^7.13.16",
|
|
57
|
+
"@babel/runtime-corejs2": "^7.14.0",
|
|
58
|
+
"@types/chai": "^4.2.11",
|
|
59
|
+
"@types/cucumber": "^6.0.1",
|
|
60
|
+
"@types/debug": "4.1.5",
|
|
61
|
+
"@types/express": "^4.17.6",
|
|
62
|
+
"@types/js-cookie": "^2.2.6",
|
|
63
|
+
"@types/jsdom-global": "^3.0.2",
|
|
64
|
+
"@types/react": "^16.9.35",
|
|
65
|
+
"@types/superagent": "^4.1.7",
|
|
66
|
+
"@ungap/url-search-params": "^0.2.0",
|
|
67
|
+
"babel-loader": "^8.2.2",
|
|
68
|
+
"base64-url": "^2.3.3",
|
|
69
|
+
"chai": "^4.2.0",
|
|
70
|
+
"cross-env": "^7.0.2",
|
|
71
|
+
"cucumber": "^6.0.5",
|
|
72
|
+
"express": "^4.17.1",
|
|
73
|
+
"microbundle": "^0.13.0",
|
|
74
|
+
"msw": "^0.36.0",
|
|
75
|
+
"np": "^6.2.3",
|
|
76
|
+
"npm-run-all": "^4.1.5",
|
|
77
|
+
"parcel": "^1.12.3",
|
|
78
|
+
"parcel-bundler": "^1.12.4",
|
|
79
|
+
"playwright": "^1.33.0-alpha-mar-29-2023",
|
|
80
|
+
"react": "^16.13.1",
|
|
81
|
+
"react-bootstrap": "^1.0.1",
|
|
82
|
+
"react-dom": "^16.13.1",
|
|
83
|
+
"react-url-query": "^1.5.0",
|
|
84
|
+
"serve": "^11.3.0",
|
|
85
|
+
"ts-loader": "^7.0.4",
|
|
86
|
+
"ts-node": "^8.10.2",
|
|
87
|
+
"tsd": "^0.13.1",
|
|
88
|
+
"typedoc": "^0.17.7",
|
|
89
|
+
"typescript": "^3.9.3",
|
|
90
|
+
"webpack": "^4.46.0",
|
|
91
|
+
"webpack-cli": "^3.3.12",
|
|
92
|
+
"webpack-visualizer-plugin": "^0.1.11"
|
|
93
|
+
},
|
|
94
|
+
"prettier": {},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"debug": "^3.2.6",
|
|
97
|
+
"eventbusjs": "^0.2.0",
|
|
98
|
+
"js-cookie": "^2.2.1",
|
|
99
|
+
"superagent": "^5.2.2"
|
|
100
|
+
},
|
|
101
|
+
"browserslist": "> 0.25%, not dead",
|
|
102
|
+
"msw": {
|
|
103
|
+
"workerDirectory": "demo/dist"
|
|
104
|
+
}
|
|
105
|
+
}
|