@nutui/taro-biz 0.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +82 -0
  3. package/readme.md +9 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 jdcfe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@nutui/taro-biz",
3
+ "version": "0.0.1-alpha.0",
4
+ "main": "dist/cjs/index.js",
5
+ "module": "dist/es/index.js",
6
+ "typings": "dist/es/index.d.ts",
7
+ "sideEffects": [
8
+ "*.scss",
9
+ "dist/es/**/style/*",
10
+ "dist/cjs/**/style/*"
11
+ ],
12
+ "description": "京东主站设计内部组件库",
13
+ "keywords": [
14
+ "nutui",
15
+ "react",
16
+ "taro",
17
+ "jd",
18
+ "material",
19
+ "liquid-glass"
20
+ ],
21
+ "author": "jdcfe",
22
+ "license": "MIT",
23
+ "files": [
24
+ "dist",
25
+ "README.md",
26
+ "package.json",
27
+ "LICENSE"
28
+ ],
29
+ "publishConfig": {
30
+ "access": "public",
31
+ "registry": "https://registry.npmjs.org/"
32
+ },
33
+ "scripts": {
34
+ "dev": "vite --open --force",
35
+ "build": "npm run checked && node scripts/build.mjs",
36
+ "build:taro": "npm run checked:taro && node scripts/build-taro.mjs",
37
+ "checked": "tsc --project ./tsconfig.json --noEmit",
38
+ "checked:taro": "tsc --project ./tsconfig.taro.json --noEmit",
39
+ "test": "vitest run",
40
+ "test:watch": "vitest",
41
+ "add": "node scripts/create-component.js"
42
+ },
43
+ "peerDependencies": {
44
+ "@jdtaro/ui": ">=4.1.1-beta.0",
45
+ "@tarojs/components": ">=4.0.0",
46
+ "@tarojs/taro": ">=4.0.0",
47
+ "react": ">=16.8.0",
48
+ "react-dom": ">=16.8.0"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "@tarojs/components": {
52
+ "optional": true
53
+ },
54
+ "@tarojs/taro": {
55
+ "optional": true
56
+ },
57
+ "@jdtaro/ui": {
58
+ "optional": true
59
+ }
60
+ },
61
+ "devDependencies": {
62
+ "@inquirer/prompts": "^7.0.0",
63
+ "@tarojs/components": "^4.0.12",
64
+ "@tarojs/taro": "^4.0.12",
65
+ "@testing-library/jest-dom": "^6.0.0",
66
+ "@testing-library/react": "^14.0.0",
67
+ "@types/react": "^18.3.31",
68
+ "@types/react-dom": "^18.3.7",
69
+ "@vitejs/plugin-react": "^4.0.0",
70
+ "classnames": "^2.3.2",
71
+ "jsdom": "^24.0.0",
72
+ "react": "^18.2.0",
73
+ "react-dom": "^18.2.0",
74
+ "sass": "^1.77.0",
75
+ "typescript": "^5.4.0",
76
+ "vite": "^5.0.0",
77
+ "vitest": "^1.0.0"
78
+ },
79
+ "dependencies": {
80
+ "classnames": "^2.3.2"
81
+ }
82
+ }
package/readme.md ADDED
@@ -0,0 +1,9 @@
1
+ 本仓库用于输出 基于京东主站设计的一些仅供内部使用的组件。
2
+
3
+ 1、复用 nutui-react 的脚手架功能
4
+ - 是否可以先在 nutui-react 中生成一个用于多端脚手架的 skill?
5
+ - nutui-react 在同级目录 nutui-react 目录下
6
+
7
+ 2、本次实现两个组件,参考文档:https://joyspace.jd.com/pages/WDMtpVWLnrM0L4G5V0n2
8
+ - JDMaterialView 组件
9
+ - JDMaterialsBlurTarget 组件