mazey 3.11.2 → 3.11.3

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 CHANGED
@@ -61,7 +61,6 @@ There are some examples maintained by hand below. For more information, please c
61
61
 
62
62
  <!-- toc - begin -->
63
63
  - Generated with ❤️
64
- - [Table of Contents](#table-of-contents)
65
64
  - [Load Resource](#load-resource)
66
65
  - [loadScript](#loadscript)
67
66
  - [loadScriptIfUndefined](#loadscriptifundefined)
package/lib/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * mazey v3.11.2 https://www.npmjs.com/package/mazey
2
+ * mazey v3.11.3 https://www.npmjs.com/package/mazey
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
package/lib/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * mazey v3.11.2 https://www.npmjs.com/package/mazey
2
+ * mazey v3.11.3 https://www.npmjs.com/package/mazey
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
package/lib/mazey.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * mazey v3.11.2 https://www.npmjs.com/package/mazey
2
+ * mazey v3.11.3 https://www.npmjs.com/package/mazey
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
4
4
  "description": "A functional library for daily front-end work.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "typings": "lib/index.d.ts",
8
+ "types": "lib/index.d.ts",
8
9
  "mainEntryPointFilePath": "lib/index.d.ts",
9
10
  "directories": {
10
11
  "lib": "./lib"
11
12
  },
12
13
  "scripts": {
13
14
  "dev": "webpack serve --config ./scripts/webpack.config.dev.js --open",
14
- "build": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=\"close\" rollup --config ./scripts/rollup.config.js",
15
- "build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=\"open\" rollup --config ./scripts/rollup.config.js",
15
+ "build": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=close rollup --config ./scripts/rollup.config.js",
16
+ "build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=open rollup --config ./scripts/rollup.config.js",
16
17
  "test": "jest",
17
18
  "test:debug": "npm run build:debug && npm run test",
18
19
  "lint:fix": "eslint --ext 'js,ts,tsx' --fix ./src ./test ./scripts",
@@ -97,6 +98,7 @@
97
98
  "rollup-plugin-cleaner": "^1.0.0",
98
99
  "rollup-plugin-commonjs": "^10.1.0",
99
100
  "rollup-plugin-copy": "^3.4.0",
101
+ "rollup-plugin-dts": "^4.2.3",
100
102
  "rollup-plugin-terser": "^7.0.2",
101
103
  "rollup-plugin-typescript2": "^0.30.0",
102
104
  "ts-loader": "^8.0.2",
@@ -24,6 +24,7 @@ const defaultHiddenHeadings = [
24
24
  'Scripts',
25
25
  'Node.js',
26
26
  'TypeScript',
27
+ 'Table of Contents',
27
28
  ];
28
29
 
29
30
  /**