Kaynağa Gözat

delete Useless code

杜府 3 yıl önce
ebeveyn
işleme
87d2d544f5
5 değiştirilmiş dosya ile 2 ekleme ve 78 silme
  1. 1 0
      README.md
  2. 1 0
      README_en.md
  3. 0 21
      package-lock.json
  4. 0 32
      package.json
  5. 0 25
      updateV.js

+ 1 - 0
README.md

@@ -30,6 +30,7 @@
 -   🌍 支持国际化,已内置 60+ 种语言包;
 -   🫰 交互友好,动画参数可配,可自定义主题;
 -   🤝 支持 Tailwind 类库,如 Windi CSS、UnoCSS 等。
+-   🫡 无三方依赖,无需担心三方库版本与安全问题。
 
 # 快速上手
 

+ 1 - 0
README_en.md

@@ -30,6 +30,7 @@ Mobile web component library based on [Svelte](https://svelte.dev) and [Tailwind
 -   🌍 Supports internationalization, with 60+ built-in language packages;
 -   🫰 User-friendly interaction, animation parameters can be configured, and custom themes are supported;
 -   🤝 Supports Tailwind libraries such as Windi CSS and UnoCSS.
+-   🫡 No three -party dependence, no need to worry about the three -party library version and security issues.
 
 # Getting Started
 

+ 0 - 21
package-lock.json

@@ -1,21 +0,0 @@
-{
-  "name": "stdf",
-  "version": "0.0.2",
-  "lockfileVersion": 3,
-  "requires": true,
-  "packages": {
-    "": {
-      "name": "stdf",
-      "version": "0.0.2",
-      "license": "MIT",
-      "dependencies": {
-        "fs": "^0.0.1-security"
-      }
-    },
-    "node_modules/fs": {
-      "version": "0.0.1-security",
-      "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
-      "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
-    }
-  }
-}

+ 0 - 32
package.json

@@ -1,32 +0,0 @@
-{
-	"name": "stdf",
-	"version": "0.0.5",
-	"description": "Mobile Web component library based on Svelte and Tailwind",
-	"main": "index.js",
-	"scripts": {
-		"test": "echo \"Error: no test specified\" && exit 1",
-		"cpREADME": "cp README.md ./components",
-		"updateV": "node updateV.js",
-		"publish": "cd components && npm publish",
-		"preGit": "npm run cpREADME && npm run updateV && npm run publish"
-	},
-	"author": "dufu1991",
-	"license": "MIT",
-	"homepage": "https://stdf.design",
-	"keywords": [
-		"svelte",
-		"tailwind",
-		"ui framework",
-		"ui 组件库",
-		"移动组件库",
-		"moblie ui",
-		"web component"
-	],
-	"repository": {
-		"type": "git",
-		"url": "https://github.com/dufu1991/stdf"
-	},
-	"dependencies": {
-		"fs": "^0.0.1-security"
-	}
-}

+ 0 - 25
updateV.js

@@ -1,25 +0,0 @@
-const fs = require('fs');
-
-fs.readFile('./components/package.json', 'utf8', (err, data) => {
-    if (err) {
-        console.error(err);
-        return;
-    }
-    const componentsObj = JSON.parse(data);
-
-    fs.readFile('./package.json', 'utf8', (err, data) => {
-        if (err) {
-            console.error(err);
-            return;
-        }
-        const stdfObj = JSON.parse(data);
-        stdfObj.version = componentsObj.version;
-        fs.writeFile('./package.json', JSON.stringify(stdfObj, '', '\t'), err => {
-            if (err) {
-                console.error(err);
-                return;
-            }
-            console.log('version updated!');
-        });
-    });
-});