From 1599028a6fceee076e8c39e912cd3dc598ce276a Mon Sep 17 00:00:00 2001 From: moon Date: Fri, 11 Oct 2024 00:38:50 -0700 Subject: [PATCH] clean garbage --- package-lock.json | 15 --------------- package.json | 18 ++---------------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2c346c6..93be3fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "ruby-simli-demo", "version": "0.1.0", - "hasInstallScript": true, "dependencies": { "@ark-ui/react": "^1.1.0", "@egoist/tailwindcss-icons": "^1.4.0", @@ -930,8 +929,6 @@ }, "node_modules/@socket.io/component-emitter": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", - "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, "node_modules/@swc/helpers": { @@ -2936,8 +2933,6 @@ }, "node_modules/engine.io-client": { "version": "6.6.1", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.6.1.tgz", - "integrity": "sha512-aYuoak7I+R83M/BBPIOs2to51BmFIpC1wZe6zZzMrT2llVsHy5cvcmdsJgP2Qz6smHu+sD9oexiSUAVd8OfBPw==", "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -2949,8 +2944,6 @@ }, "node_modules/engine.io-client/node_modules/ws": { "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -2970,8 +2963,6 @@ }, "node_modules/engine.io-parser": { "version": "5.2.3", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", - "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -6043,8 +6034,6 @@ }, "node_modules/socket.io-client": { "version": "4.8.0", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.0.tgz", - "integrity": "sha512-C0jdhD5yQahMws9alf/yvtsMGTaIDBnZ8Rb5HU56svyq0l5LIrGzIDZZD5pHQlmzxLuU91Gz+VpQMKgCTNYtkw==", "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -6058,8 +6047,6 @@ }, "node_modules/socket.io-parser": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", - "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -7263,8 +7250,6 @@ }, "node_modules/xmlhttprequest-ssl": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.1.1.tgz", - "integrity": "sha512-ptjR8YSJIXoA3Mbv5po7RtSYHO6mZr8s7i5VGmEk7QY2pQWyT1o0N+W1gKbOyJPUCGXGnuw0wqe8f0L6Y0ny7g==", "engines": { "node": ">=0.4.0" } diff --git a/package.json b/package.json index 8672c88..6e29405 100644 --- a/package.json +++ b/package.json @@ -6,17 +6,9 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "before-dev": "pnpm sync-types && vite", - "before-build": "pnpm sync-types && pnpm build", - "update-deps": "pnpm dlx npm-check-updates --configFileName .ncurc.json", "lint": "eslint \"**/*.{js,jsx,ts,tsx}\"", "lint:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix", - "format:js": "prettier --write \"**/*.{json,js,jsx,ts,tsx}\" --log-level warn", - "format": "pnpm format:js && cargo fmt", - "sync-types": "cargo test && pnpm format", - "preinstall": "pnpm dlx only-allow pnpm", - "test": "vitest --run", - "test:ui": "vitest --ui" + "format": "prettier --write \"**/*.{json,js,jsx,ts,tsx}\" --log-level warn" }, "dependencies": { "@ark-ui/react": "^1.1.0", @@ -27,13 +19,7 @@ "eventemitter3": "^5.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-hook-form": "^7.48.2", - "simli-client": "^1.0.7", - "socket.io-client": "^4.8.0", - "usehooks-ts": "^2.9.1", - "wouter": "^2.12.1", - "zod": "^3.22.4", - "zustand": "^4.4.7" + "simli-client": "^1.0.7" }, "devDependencies": { "@tailwindcss/aspect-ratio": "^0.4.2",