-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.64 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.64 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
112
113
114
115
116
{
"name": "@pokujs/angular",
"version": "1.0.0",
"private": false,
"description": "Angular testing helpers and Poku plugin for DOM-backed component tests.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./plugin": {
"types": "./dist/plugin.d.ts",
"import": "./dist/plugin.js"
},
"./angular-testing": {
"types": "./dist/angular-testing.d.ts",
"import": "./dist/angular-testing.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=20.x.x",
"bun": ">=1.x.x",
"typescript": ">=6.x.x"
},
"scripts": {
"test": "node --import=tsx run.test.ts",
"test:happy": "cross-env POKU_ANGULAR_TEST_DOM=happy-dom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs",
"test:happy:none": "cross-env POKU_ANGULAR_TEST_DOM=happy-dom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs --isolation=none",
"test:happy:process": "cross-env POKU_ANGULAR_TEST_DOM=happy-dom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs --isolation=process",
"test:jsdom": "cross-env POKU_ANGULAR_TEST_DOM=jsdom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs",
"test:jsdom:none": "cross-env POKU_ANGULAR_TEST_DOM=jsdom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs --isolation=none",
"test:jsdom:process": "cross-env POKU_ANGULAR_TEST_DOM=jsdom node --import=tsx ./node_modules/poku/lib/bin/index.js tests --showLogs --isolation=process",
"clean": "rimraf dist",
"build": "tsup src/index.ts src/plugin.ts src/angular-testing.ts src/dom-setup-happy.ts src/dom-setup-jsdom.ts --format esm --dts --target node20 --sourcemap --clean --tsconfig tsconfig.tsup.json",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "npm run typecheck",
"check": "npm run typecheck && npm test",
"prepack": "npm run build"
},
"keywords": [
"poku",
"angular",
"testing",
"testing-library",
"happy-dom",
"jsdom",
"standalone",
"signals"
],
"author": "Lojhan",
"repository": {
"type": "git",
"url": "git+https://github.com/pokujs/angular.git"
},
"homepage": "https://github.com/pokujs/angular#readme",
"bugs": {
"url": "https://github.com/pokujs/angular/issues"
},
"license": "MIT",
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"@testing-library/dom": "^10.4.1"
},
"peerDependencies": {
"@angular/common": ">=18",
"@angular/core": ">=18",
"@angular/forms": ">=18",
"@angular/platform-browser": ">=18",
"@angular/platform-browser-dynamic": ">=18",
"happy-dom": ">=20",
"jsdom": ">=22",
"poku": ">=4.1.0"
},
"peerDependenciesMeta": {
"@angular/forms": {
"optional": true
},
"happy-dom": {
"optional": true
},
"jsdom": {
"optional": true
}
},
"devDependencies": {
"@angular/common": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@happy-dom/global-registrator": "^20.8.9",
"@pokujs/dom": "^1.2.0",
"@types/jsdom": "^28.0.1",
"@types/node": "^25.5.0",
"cross-env": "^10.1.0",
"happy-dom": "^20.8.9",
"jsdom": "^26.1.0",
"poku": "4.2.0",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
}
}