Skip to content

Commit

Permalink
chore: add name field in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 5, 2022
1 parent 36211fd commit 0d3c401
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

弄个纯静态,便于维护的前端导航站。顺便放一些前端资源。[提交网址](https://github.com/jaywcjlove/FED/wiki/%E6%B7%BB%E5%8A%A0%E7%BD%91%E7%AB%99)

```bash
npm i @wcj/fed
```

```js
import data from '@wcj/fed';

[
{
"name":"Mozilla 开发者网络",
"url":"https://developer.mozilla.org/zh-CN/",
"icon":"https://developer.cdn.mozilla.net/static/img/opengraph-logo.dc4e08e2f6af.png",
"des":"Mozilla 开发者网络(MDN)提供有关开放网络技术(Open Web)的信息,包括 HTML、CSS 和万维网及 HTML5 应用的 API。它还记录了 Mozilla 产品的文档,例如 Firefox OS。",
"tags":["社区"]
},
// ....
]
```

## 分类搜索

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wcj/fed",
"version": "1.0.0",
"description": "前端导航",
"main": "index.js",
"main": "./data.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:css": "stylus -u autoprefixer-stylus -u stylus-px2rem styl/index.styl -o css/ -c",
Expand All @@ -19,6 +19,9 @@
"type": "git",
"url": "https://github.com/jaywcjlove/FED.git"
},
"files": [
"data.json"
],
"author": "kenny wang <wowohoo@qq.com>",
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 0d3c401

Please sign in to comment.