iframe.io 1.2.0 → 1.3.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 +406 -136
- package/dist/index.d.ts +152 -0
- package/dist/index.js +670 -32
- package/package.json +3 -5
- package/src/index.ts +838 -32
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iframe.io",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Easy and friendly API to connect and interact between content window and its containing iframe",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"private": false,
|
|
8
8
|
"scripts": {
|
|
9
9
|
"compile": "rimraf ./dist && tsc",
|
|
10
|
-
"test": "
|
|
11
|
-
"
|
|
12
|
-
"test:unit": "nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/iframe.io.ts",
|
|
13
|
-
"prepack": "yarn run compile"
|
|
10
|
+
"test": "npm run compile && node --test \"test/*.test.mjs\"",
|
|
11
|
+
"prepack": "npm run compile"
|
|
14
12
|
},
|
|
15
13
|
"devDependencies": {
|
|
16
14
|
"@types/mocha": "^9.1.0",
|