-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
94 lines (94 loc) · 2.21 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
{
"name": "slimdom",
"version": "4.3.5",
"description": "Fast, tiny, standards-compliant XML DOM implementation for node and the browser",
"author": "Stef Busking",
"license": "MIT",
"keywords": [
"dom",
"xml",
"XMLSerializer",
"w3c"
],
"main": "./dist/slimdom.umd.cjs",
"module": "./dist/slimdom.esm.js",
"type": "module",
"exports": {
".": {
"types": "./dist/slimdom.d.ts",
"import": "./dist/slimdom.esm.js",
"require": "./dist/slimdom.umd.cjs",
"default": "./dist/slimdom.esm.js"
}
},
"types": "./dist/slimdom.d.ts",
"scripts": {
"build:clean": "rimraf dist && rimraf lib && rimraf temp",
"build:bundle": "tsc -P tsconfig.build.json && rollup -c",
"build:api": "api-extractor run",
"build:api-copy": "copyfiles --flat temp/* api",
"build:docs": "api-documenter markdown -i api -o docs",
"build": "npm-run-all build:clean build:bundle build:api build:api-copy build:docs",
"prepare": "npm run build",
"download-xmlconf": "node test/dom-parsing/downloadXmlConf.cjs",
"test": "jest --coverage --verbose",
"test:debug": "node --inspect --debug-brk node_modules/jest/bin/jest.js --runInBand"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git://github.com/bwrrp/slimdom.js.git"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.23.38",
"@microsoft/api-extractor": "^7.42.3",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.28",
"copyfiles": "^2.4.1",
"dom-treeadapter": "^0.2.2",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"parse5": "^7.1.2",
"prettier": "^2.8.8",
"prsc": "^4.0.0",
"rimraf": "^5.0.5",
"rollup": "^2.75.7",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"sizzle": "^2.3.10",
"ts-jest": "~29.1.2",
"typescript": "^5.4.2"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(\\.(tests))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageReporters": [
"html",
"text"
],
"globals": {
"window": {}
}
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
}