-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
package.json
96 lines (96 loc) · 2.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@happy-dom/global-registrator",
"version": "0.0.0",
"license": "MIT",
"homepage": "https://github.com/capricorn86/happy-dom/tree/master/packages/global-registrator",
"repository": "https://github.com/capricorn86/happy-dom",
"author": "David Ortner",
"description": "Use Happy DOM globally in a Node.js environment for testing.",
"main": "lib/index.js",
"type": "module",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./cjs/index.cjs",
"default": "./lib/index.js"
},
"./lib/*.js": {
"import": "./lib/*.js",
"require": "./cjs/*.cjs",
"default": "./lib/*.js"
},
"./lib/*.ts": {
"import": "./lib/*.ts",
"require": "./cjs/*.ts",
"default": "./lib/*.ts"
},
"./lib/*.map": {
"import": "./lib/*.map",
"require": "./cjs/*.map",
"default": "./lib/*.map"
},
"./cjs/*.js": {
"import": "./lib/*.js",
"require": "./cjs/*.cjs",
"default": "./lib/*.js"
},
"./cjs/*.ts": {
"import": "./lib/*.ts",
"require": "./cjs/*.ts",
"default": "./lib/*.ts"
},
"./cjs/*.map": {
"import": "./lib/*.map",
"require": "./cjs/*.map",
"default": "./lib/*.map"
},
"./src/*.ts": "./src/*.ts",
"./package.json": "./package.json",
"./.eslintrc": "./.eslintrc.js"
},
"keywords": [
"jsdom",
"happy",
"dom",
"webcomponents",
"web",
"component",
"custom",
"elements",
"global",
"register",
"registrator"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"compile": "tsc && tsc --module CommonJS --outDir cjs && npm run change-cjs-file-extension",
"change-cjs-file-extension": "node ../happy-dom/bin/change-file-extension.cjs --dir=./cjs --fromExt=.js --toExt=.cjs",
"watch": "npm run compile && tsc -w --preserveWatchOutput",
"lint": "eslint --ignore-path .gitignore --max-warnings 0 .",
"lint:fix": "eslint --ignore-path .gitignore --max-warnings 0 --fix .",
"test": "tsc --project ./test && node ../happy-dom/bin/change-file-extension.cjs --dir=./tmp --fromExt=.js --toExt=.cjs && node ./tmp/react/React.test.cjs",
"test:debug": "tsc --project ./test && node --inspect-brk ./tmp/react/React.test.js"
},
"dependencies": {
"happy-dom": "^0.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@types/node": "^15.6.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^38.0.6",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-turbo": "^0.0.7",
"prettier": "^2.6.0",
"typescript": "^5.0.4",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}