@whitesev/domutils 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1677 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1675 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +1683 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/src/CommonDOMUtils.d.ts +36 -0
- package/dist/src/Core.d.ts +197 -0
- package/dist/src/DOMUtils.d.ts +877 -0
- package/dist/src/Data.d.ts +5 -0
- package/dist/src/OriginPrototype.d.ts +6 -0
- package/global.d.ts +1 -0
- package/index.ts +3 -0
- package/package.json +34 -0
- package/rollup.config.js +28 -0
- package/src/CommonDOMUtils.ts +96 -0
- package/src/Core.ts +224 -0
- package/src/DOMUtils.ts +2504 -0
- package/src/Data.ts +9 -0
- package/src/OriginPrototype.ts +7 -0
- package/tsconfig.json +31 -0
package/src/Data.ts
ADDED
package/tsconfig.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
// es最新版
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
// 运行环境: es6、浏览器
|
|
6
|
+
"lib": ["ESNext", "DOM"],
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"module": "ESNext",
|
|
10
|
+
"moduleResolution": "Node",
|
|
11
|
+
//"module": "AMD",
|
|
12
|
+
//"moduleResolution": "Bundler",
|
|
13
|
+
//"resolveJsonModule": true,
|
|
14
|
+
// 启用严格模式
|
|
15
|
+
"strict": true,
|
|
16
|
+
"strictNullChecks": true,
|
|
17
|
+
"esModuleInterop": true,
|
|
18
|
+
// 跳过默认库检查
|
|
19
|
+
"skipDefaultLibCheck": true,
|
|
20
|
+
// 跳过库检查
|
|
21
|
+
"skipLibCheck": true,
|
|
22
|
+
// 输出目录
|
|
23
|
+
"outDir": "./dist",
|
|
24
|
+
// 输出.d.ts声明文件
|
|
25
|
+
"declaration": true,
|
|
26
|
+
"sourceMap": true,
|
|
27
|
+
"types": ["./global.d.ts"]
|
|
28
|
+
},
|
|
29
|
+
// 包含src下的所有文件
|
|
30
|
+
"include": ["src/**/*", "index.ts"]
|
|
31
|
+
}
|