forked from Aaronius/penpal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.03 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@archilogic/penpal",
"version": "7.0.5",
"description": "Penpal simplifies communication with iframes, workers, and windows by using promise-based methods on top of postMessage.",
"author": "Aaron Hardy <aaron@aaronhardy.com>",
"license": "MIT",
"publishConfig": {
"access": "restricted"
},
"bugs": {
"url": "https://github.com/archilogic/penpal/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/archilogic/penpal.git"
},
"keywords": [
"postMessage",
"communication",
"promise",
"iframe",
"iframes",
"worker",
"workers",
"web-worker",
"web-workers",
"node-worker",
"node-workers",
"shared-worker",
"shared-workers",
"service-worker",
"service-workers",
"port",
"message-port",
"message-channel",
"window",
"windows"
],
"type": "module",
"types": "./dist/penpal.d.ts",
"exports": {
"import": {
"types": "./dist/penpal.d.ts",
"default": "./dist/penpal.mjs"
},
"require": {
"types": "./dist/penpal.d.cts",
"default": "./dist/penpal.cjs"
}
},
"scripts": {
"build": "tsup --format esm,cjs,iife --dts && tsup --format iife --minify=terser --clean=false",
"build:analysis": "node scripts/filesize.js dist/penpal.min.js",
"lint": "eslint --cache --fix",
"format": "prettier --write \"**/*.{json,ts,js,cjs,md,html}\"",
"changeset": "changeset",
"changeset:auto": "npx changeset-conventional-commits",
"version": "changeset version",
"publish": "changeset publish",
"test": "npm-run-all test:browser test:node",
"test:browser": "node scripts/test.js",
"test:node": "node --test test/nodeWorker.spec.js",
"test:watch": "npm run test:browser -- --watch",
"prepublishOnly": "npm-run-all format lint test:node build",
"prepare": "husky install"
},
"lint-staged": {
"**/*": [
"eslint --cache --fix"
],
"**/*.{json,ts,js,md,html,eslintrc}": [
"prettier --write"
]
},
"files": [
"dist"
],
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@chiragrupani/karma-chromium-edge-launcher": "^2.4.1",
"@eslint/js": "^9.17.0",
"@metahub/karma-rollup-preprocessor": "^6.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/jasmine": "^5.1.5",
"@types/jest": "^29.5.11",
"connect": "^3.6.6",
"eslint": "^9.17.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-unused-imports": "^4.1.4",
"expect-type": "^1.0.0",
"filesize": "^6.1.0",
"globals": "^15.13.0",
"husky": "^6.0.0",
"jasmine-core": "^5.5.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-firefox-launcher": "^2.1.3",
"karma-jasmine": "^5.1.0",
"karma-safari-launcher": "^1.0.0",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"prettier": "2.0.4",
"rimraf": "^3.0.2",
"serve-static": "^1.16.2",
"terser": "^5.39.0",
"tslib": "^2.8.1",
"tsup": "^8.0.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.28.0"
}
}