mazey-wechat-launch-app 2.3.5 → 2.4.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/package.json CHANGED
@@ -1,20 +1,26 @@
1
1
  {
2
2
  "name": "mazey-wechat-launch-app",
3
- "version": "2.3.5",
3
+ "version": "2.4.3",
4
4
  "description": "Launch App in WeChat/Weixin",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "typings": "lib/index.d.ts",
8
+ "files": [
9
+ "lib",
10
+ "README.md",
11
+ "LICENSE"
12
+ ],
8
13
  "mainEntryPointFilePath": "lib/index.d.ts",
9
14
  "unpkg": "lib/launch-app.min.js",
10
15
  "jsdelivr": "lib/launch-app.min.js",
11
- "scripts": {
12
- "dev": "webpack-dev-server --config ./scripts/webpack.config.dev.js --open",
13
- "build": "rollup --config ./scripts/rollup.config.js",
14
- "test": "jest",
15
- "lint:fix": "eslint ./src/index.ts --ext 'ts,tsx' --fix",
16
- "preview": "npm run build && npm run test",
17
- "release": "npm run preview && cross-env SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version node ./scripts/release.js"
16
+ "engines": {
17
+ "node": ">=22.15.0 <23"
18
+ },
19
+ "jest": {
20
+ "testPathIgnorePatterns": [
21
+ "/dist/",
22
+ "/lib/"
23
+ ]
18
24
  },
19
25
  "repository": {
20
26
  "type": "git",
@@ -42,64 +48,65 @@
42
48
  "bugs": {
43
49
  "url": "https://github.com/chengchuu/mazey-wechat-launch-app/issues"
44
50
  },
45
- "homepage": "https://github.com/chengchuu/mazey-wechat-launch-app#readme",
51
+ "homepage": "https://chengchuu.github.io/mazey-wechat-launch-app/",
46
52
  "devDependencies": {
47
- "@babel/core": "^7.8.4",
48
- "@babel/plugin-proposal-class-properties": "^7.10.4",
49
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
50
- "@babel/plugin-transform-runtime": "^7.11.0",
51
- "@babel/preset-env": "^7.5.5",
52
- "@babel/preset-typescript": "^7.10.4",
53
- "@babel/runtime-corejs3": "^7.11.2",
54
- "@commitlint/cli": "^17.0.3",
55
- "@commitlint/config-conventional": "^8.3.4",
53
+ "@babel/core": "^7.29.7",
54
+ "@babel/preset-env": "^7.29.7",
55
+ "@babel/preset-typescript": "^7.29.7",
56
+ "@commitlint/cli": "^21.2.1",
57
+ "@commitlint/config-conventional": "^21.2.0",
58
+ "@eslint/js": "^10.0.1",
59
+ "@rollup/plugin-babel": "^7.1.0",
60
+ "@rollup/plugin-commonjs": "^29.0.3",
61
+ "@rollup/plugin-node-resolve": "^16.0.3",
62
+ "@rollup/plugin-terser": "^1.0.0",
56
63
  "@types/jquery": "^3.5.17",
57
64
  "@types/js-sha1": "^0.6.0",
58
- "@typescript-eslint/eslint-plugin": "^4.22.0",
59
- "@typescript-eslint/parser": "^4.22.0",
60
- "@webpack-cli/serve": "^1.7.0",
61
- "clean-webpack-plugin": "^1.0.1",
62
- "core-js": "^3.6.5",
63
- "cross-env": "^7.0.3",
64
- "date-fns": "^2.29.3",
65
- "eslint": "^6.8.0",
66
- "eslint-config-standard": "^14.1.0",
67
- "eslint-plugin-import": "^2.20.1",
68
- "eslint-plugin-node": "^11.0.0",
69
- "eslint-plugin-promise": "^4.2.1",
70
- "eslint-plugin-standard": "^4.0.1",
71
- "execa": "^4.1.0",
72
- "html-webpack-plugin": "^3.2.0",
73
- "husky": "^4.3.8",
74
- "jest": "^27.5.1",
75
- "lint-staged": "^10.0.8",
76
- "markdown-toc": "^1.2.0",
77
- "prettier": "^1.19.1",
78
- "prettier-eslint-cli": "^5.0.0",
79
- "rollup": "^2.79.1",
80
- "rollup-plugin-babel": "^4.3.3",
81
- "rollup-plugin-cleaner": "^1.0.0",
82
- "rollup-plugin-commonjs": "^10.1.0",
83
- "rollup-plugin-node-resolve": "^5.2.0",
84
- "rollup-plugin-terser": "^7.0.2",
85
- "rollup-plugin-typescript2": "^0.30.0",
86
- "ts-loader": "^8.0.2",
87
- "tslib": "^2.4.1",
88
- "typedoc": "^0.18.0",
89
- "typescript": "^4.4.4",
90
- "webpack": "4.30.0",
91
- "webpack-cli": "3.3.2",
92
- "webpack-dev-server": "3.11.3"
93
- },
94
- "husky": {
95
- "hooks": {
96
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
97
- "pre-commit": "lint-staged"
98
- }
65
+ "bootstrap": "5.3.8",
66
+ "cross-env": "^10.1.0",
67
+ "css-loader": "^7.1.4",
68
+ "eslint": "^10.6.0",
69
+ "globals": "^17.7.0",
70
+ "html-webpack-plugin": "^5.6.7",
71
+ "husky": "^9.1.7",
72
+ "jest": "^30.4.2",
73
+ "jest-environment-jsdom": "^30.4.1",
74
+ "lint-staged": "^16.4.0",
75
+ "mini-css-extract-plugin": "^2.10.2",
76
+ "prettier": "^3.9.5",
77
+ "rollup": "^4.62.2",
78
+ "rollup-plugin-typescript2": "^0.37.0",
79
+ "ts-loader": "^9.6.2",
80
+ "tslib": "^2.8.1",
81
+ "typedoc": "^0.28.20",
82
+ "typescript": "5.9.3",
83
+ "typescript-eslint": "^8.63.0",
84
+ "webpack": "^5.108.4",
85
+ "webpack-cli": "^7.2.1",
86
+ "webpack-dev-server": "^6.0.0"
99
87
  },
100
88
  "dependencies": {
89
+ "core-js": "^3.49.0",
101
90
  "jquery": "^3.7.1",
102
91
  "js-sha1": "^0.6.0",
103
- "mazey": "^4.7.12"
92
+ "mazey": "^5.6.1"
93
+ },
94
+ "scripts": {
95
+ "dev": "webpack serve --config ./scripts/webpack.config.dev.js",
96
+ "build": "rollup --config ./scripts/rollup.config.mjs",
97
+ "build:dev": "webpack --config ./scripts/webpack.config.dev.js",
98
+ "build:site": "cross-env GITHUB_PAGES=true webpack --mode production --config ./scripts/webpack.config.dev.js",
99
+ "test": "jest --runInBand",
100
+ "typecheck": "tsc --noEmit",
101
+ "lint": "eslint src examples site typing.d.ts eslint.config.mjs commitlint.config.js project.config.js scripts test",
102
+ "lint:fix": "npm run lint -- --fix",
103
+ "format": "prettier --write .",
104
+ "format:check": "prettier --check .",
105
+ "docs": "typedoc --out .pages-api --entryPoints src/index.ts --readme README.md --excludeProtected --excludePrivate --excludeInternal --hideGenerator && npm run build:site && node scripts/build-pages.mjs && npm run seo:validate && npm run pwa:validate",
106
+ "seo:validate": "node scripts/validate-seo.mjs",
107
+ "pwa:validate": "node scripts/validate-pwa.mjs",
108
+ "pwa:preview": "npm run docs && node scripts/preview-pages.mjs",
109
+ "preview": "npm run typecheck && npm run lint && npm run build && npm run test && npm run docs",
110
+ "release": "npm run preview && cross-env SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version node ./scripts/release.js"
104
111
  }
105
- }
112
+ }