Skip to content

Commit

Permalink
feat(icons): 增加 jdesign react icons
Browse files Browse the repository at this point in the history
  • Loading branch information
huzhe46 committed Mar 15, 2024
1 parent 85643a7 commit 7160db3
Show file tree
Hide file tree
Showing 26 changed files with 4,835 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/jdesign-icons-react/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

components
2 changes: 2 additions & 0 deletions packages/jdesign-icons-react/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# @nutui/icons-react

12 changes: 12 additions & 0 deletions packages/jdesign-icons-react/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@nutui/jdesign-icons-react</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/sites/main.tsx"></script>
</body>
</html>
54 changes: 54 additions & 0 deletions packages/jdesign-icons-react/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "@nutui/jdesign-icons-react",
"version": "1.0.2",
"scripts": {
"dev": "vite",
"build": "vite build --config vite.config.build.es.ts && vite build --config vite.config.build.umd.ts && vite build --config vite.config.build.css.ts && vite build --config vite.config.dts.ts",
"preview": "vite preview",
"release": "release-it",
"release:beta": "release-it --preRelease=beta"
},
"main": "dist/lib/index.umd.js",
"module": "dist/es/index.es.js",
"style": "dist/style_icon.css",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
"README.md",
"package.json",
"LICENSE",
"CHANGELOG.md"
],
"sideEffects": [
"*.css",
"**/index.es.js"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"author": "jdf2e",
"license": "MIT",
"release-it": {
"git": {
"tag": false,
"commitMessage": "release: @nutui/jdesign-icons-taro ${version}",
"addUntrackedFiles": true,
"requireCleanWorkingDir": false
}
},
"devDependencies": {
"@nutui/nutui-react": "^1.4.2",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^3.0.0",
"camelcase": "^7.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "^15.5.1",
"sass": "^1.56.1",
"typescript": "^4.9.3",
"vite": "^4.0.0",
"vite-plugin-dts": "^1.7.1"
}
}
Loading

0 comments on commit 7160db3

Please sign in to comment.