Skip to content

Commit

Permalink
Bump all dependencies to latest & cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Nov 5, 2024
1 parent 712a6fd commit dde3f36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 57 deletions.
49 changes: 0 additions & 49 deletions cli/upload.mjs

This file was deleted.

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"description": "Fanfou WeApp",
"private": true,
"scripts": {
"test": "xo && c8 ava",
"upload": "cli/upload.mjs"
"test": "xo && c8 ava"
},
"repository": {
"type": "git",
Expand All @@ -18,13 +17,10 @@
},
"homepage": "https://github.com/fanfoujs/xiaofan-wechat#readme",
"devDependencies": {
"ava": "^4.3.3",
"c8": "^7.12.0",
"chalk": "^5.0.1",
"ava": "^6.2.0",
"c8": "^10.1.2",
"deep-keys": "^0.5.0",
"execa": "^6.1.0",
"ora": "^6.1.2",
"xo": "^0.56.0"
"xo": "^0.59.3"
},
"xo": {
"prettier": true,
Expand All @@ -41,9 +37,11 @@
"rules": {
"unicorn/prefer-module": 0,
"unicorn/prefer-node-protocol": 0,
"unicorn/prevent-abbreviations": 0,
"import/extensions": 0,
"ava/no-ignored-test-files": 0,
"camelcase": 0,
"logical-assignment-operators": 0,
"import/no-unresolved": 0,
"promise/prefer-await-to-then": 0,
"max-params": [
Expand Down
1 change: 1 addition & 0 deletions src/utils/vibrate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const {getSettings} = require('./util')

// eslint-disable-next-line unicorn/no-anonymous-default-export
module.exports = () => {
if (getSettings().vibrate) {
wx.vibrateShort()
Expand Down

0 comments on commit dde3f36

Please sign in to comment.