-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
72 lines (72 loc) · 2.61 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
{
"name": "root",
"version": "0.0.0",
"license": "MIT",
"private": true,
"homepage": "https://github.com/capricorn86/happy-dom-without-node/",
"repository": "https://github.com/capricorn86/happy-dom-without-node/",
"author": "David Ortner",
"description": "Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.",
"type": "module",
"keywords": [
"jsdom",
"dom",
"browser",
"custom",
"elements",
"web",
"components",
"html",
"whatwg",
"w3c"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run build:copy-files && npm run build:compile-polyfill-modules && npm run build:polyfill-code && npm run build:package-json && npm run build:install",
"build:copy-files": "rm -rf ./dist && mkdir dist && cp ./LICENSE ./dist/LICENSE && cp ./README.md ./dist/README.md && echo 'node_modules\npackage-lock.json\n.npmrc' > ./dist/.npmignore && cp -r ./node_modules/happy-dom/lib ./dist/lib && cp -r ./node_modules/happy-dom/src ./dist/src",
"build:compile-polyfill-modules": "tsc --project ./tsconfig.polyfills.json",
"build:polyfill-code": "node ./scripts/polyfill-code.cjs --dir=./dist/lib",
"build:package-json": "node ./scripts/build-package-json.cjs --dir=./dist",
"build:install": "cd ./dist && npm install",
"lint": "eslint --max-warnings 0 --cache --cache-location ./.turbo/eslint.cache .",
"lint:fix": "eslint --max-warnings 0 --cache --cache-location ./.turbo/eslint.cache --fix .",
"lint:changed": "happy-lint-changed-files",
"test": "npm run test:types && npm run test:e2e",
"test:types": "tsc --noEmit --project ./tsconfig.typecheck.json",
"test:e2e": "node ./e2e/e2e.cjs",
"prepare": "husky install && playwright install chromium"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.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-prettier": "^4.0.0",
"happy-conventional-commit": "^0.0.10",
"@types/node": "^16.11.7",
"husky": "^9.0.6",
"prettier": "^2.6.0",
"typescript": "^5.0.4",
"esbuild": "^0.19.11",
"whatwg-url": "^14.0.0",
"playwright": "^1.41.1",
"happy-dom": "^14.7.1"
},
"happyLintChanged": {
"rules": [
{
"command": "eslint --max-warnings 0 --cache --cache-location ./.turbo/eslint.cache --fix",
"regexp": "^[a-zA-Z0-9_].*\\.(cjs|mjs|js|jsx|ts|tsx|json)$"
}
]
},
"engines": {
"node": ">=16.0.0"
}
}