mazey 3.11.2 → 3.11.4
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 +0 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/mazey.min.js +1 -1
- package/package.json +5 -3
- package/scripts/build-helper.js +1 -0
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
package/lib/index.esm.js
CHANGED
package/lib/mazey.min.js
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mazey",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.4",
|
|
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
|
|
15
|
-
"build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG
|
|
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",
|