cloudpivot-sheet-filter 1.0.0 → 1.0.1
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/README.md +2 -2
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
#### ES 模块方式
|
|
14
14
|
```javascript
|
|
15
|
-
import sheetFilter, { FilterOperators } from 'https://cdn.
|
|
15
|
+
import sheetFilter, { FilterOperators } from 'https://cdn.jsdelivr.net/npm/cloudpivot-sheet-filter@1/+esm';
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
#### IIFE 方式
|
|
19
19
|
```html
|
|
20
|
-
<script src="https://cdn.
|
|
20
|
+
<script src="https://cdn.jsdelivr.net/npm/cloudpivot-sheet-filter@1/dist/index.iife.js"></script>
|
|
21
21
|
<script>
|
|
22
22
|
// 使用全局变量 sheetFilter 和 sheetFilter.FilterOperators
|
|
23
23
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudpivot-sheet-filter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "子表筛选工具 - Cloudpivot子表筛选解决方案",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -19,10 +19,15 @@
|
|
|
19
19
|
"build": "esbuild src/index.js --bundle --outfile=dist/index.cjs --format=cjs --minify && esbuild src/index.js --bundle --outfile=dist/index.esm.js --format=esm --minify && esbuild src/index.js --bundle --outfile=dist/index.iife.js --format=iife --global-name=sheetFilter --minify",
|
|
20
20
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
21
21
|
},
|
|
22
|
-
"keywords": [
|
|
22
|
+
"keywords": [
|
|
23
|
+
"cloudpivot",
|
|
24
|
+
"sheet",
|
|
25
|
+
"filter",
|
|
26
|
+
"esm"
|
|
27
|
+
],
|
|
23
28
|
"author": "",
|
|
24
29
|
"license": "MIT",
|
|
25
30
|
"devDependencies": {
|
|
26
31
|
"esbuild": "^0.20.0"
|
|
27
32
|
}
|
|
28
|
-
}
|
|
33
|
+
}
|