forked from developit/jsdom-worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) Β· 1.73 KB
/
package.json
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
{
"name": "jsdom-worker",
"version": "0.3.0",
"description": "Experimental Web Worker API implementation for JSDOM.",
"main": "./dist/jsdom-worker.js",
"module": "./dist/jsdom-worker.mjs",
"unpkg": "./dist/jsdom-worker.umd.js",
"exports": {
"import": "./dist/jsdom-worker.mjs",
"default": "./dist/jsdom-worker.js"
},
"scripts": {
"build": "microbundle --external all -f esm,cjs,umd",
"test": "eslint '{src,test}/**/*.js' && npm run -s build && jest",
"prepare": "npm run -s build && npm t",
"release": "npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": "developit/jsdom-worker",
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
}
}
]
]
},
"jest": {
"testEnvironment": "jsdom"
},
"keywords": [
"jsdom",
"web worker"
],
"author": "Jason Miller <jason@developit.ca> (http://jasonformat.com)",
"license": "MIT",
"files": [
"dist"
],
"prettier": {
"useTabs": true,
"arrowParens": "avoid",
"singleQuote": true
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@babel/preset-env": "^7.10.2",
"@types/jest": "^28.1.8",
"babel-jest": "^29.0.1",
"eslint": "^7.2.0",
"eslint-config-developit": "^1.1.1",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"lint-staged": "^13.0.3",
"microbundle": "^0.15.1",
"node-fetch": "^2.6.7",
"prettier": "^2.7.1"
},
"peerDependencies": {
"node-fetch": "*"
},
"dependencies": {
"mitt": "^3.0.0",
"uuid-v4": "^0.1.0"
}
}