southnote-mini-sdk 1.0.20 → 1.0.21

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,6 +1,6 @@
1
1
  {
2
2
  "name": "southnote-mini-sdk",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "小南书SDK",
5
5
  "main": "index.js",
6
6
  "miniprogram": ".",
@@ -25,11 +25,18 @@
25
25
  ],
26
26
  "author": "你的名字",
27
27
  "license": "MIT",
28
+ "scripts": {
29
+ "build": "node build.js",
30
+ "publish:sdk": "npm run build && cd dist && npm publish"
31
+ },
28
32
  "dependencies": {
29
33
  "pako": "^2.1.0",
30
34
  "underscore": "^1.13.6"
31
35
  },
32
36
  "peerDependencies": {
33
37
  "@vant/weapp": ">=1.0.0"
38
+ },
39
+ "devDependencies": {
40
+ "javascript-obfuscator": "^5.4.2"
34
41
  }
35
- }
42
+ }
@@ -96,7 +96,7 @@ Page({
96
96
 
97
97
  // 点击进入
98
98
  enterGame(e) {
99
- e.stopPropagation();
99
+ // e.stopPropagation();
100
100
  const id = e.currentTarget.dataset.id;
101
101
  wx.navigateTo({
102
102
  url: `../game/game?id=${id}`