|
68 | 68 | "build": "node ./scripts/replace-css-var.js && npm run checked && node scripts/build.mjs", |
69 | 69 | "build:taro": "node ./scripts/replace-css-var.js && npm run checked:taro && node scripts/build-taro.mjs", |
70 | 70 | "build:taro:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp node scripts/build-taro.mjs", |
71 | | - "build:site": "npm run checked && vite build --config vite.config.site.mts", |
72 | | - "build:site:jmapp": "npm run checked && VITE_APP_PROJECT_ID=jmapp vite build", |
73 | | - "prebuild:taro:site": "pnpm run update:taro:entry", |
74 | | - "build:taro:site": "npm run checked:taro && npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5", |
75 | | - "build:jdtaro:site": "npm run checked:taro && npm run generate:file:taro:pages && JD=1 pnpm --dir ./packages/nutui-taro-demo build:h5", |
76 | | - "build:taro:site:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5", |
77 | | - "build:jdtaro:site:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && JD=1 pnpm --dir ./packages/nutui-taro-demo build:h5", |
| 71 | + "build:demo": "npm run checked && vite build --config vite.config.demo.ts", |
| 72 | + "build:demo:jmapp": "npm run checked && VITE_APP_PROJECT_ID=jmapp vite build", |
| 73 | + "prebuild:taro:demo": "SKIPDD=1 pnpm run update:taro:entry", |
| 74 | + "build:taro:demo": "npm run checked:taro && npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5", |
| 75 | + "build:site": "vite build --config vite.config.site.mts", |
| 76 | + "build:taro:site": "vite build --config vite.config.site.taro.mts && node ./scripts/rename.js", |
| 77 | + "build:jdtaro:demo": "npm run checked:taro && npm run generate:file:taro:pages && JD=1 pnpm --dir ./packages/nutui-taro-demo build:h5", |
| 78 | + "build:taro:demo:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5", |
| 79 | + "build:jdtaro:demo:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && JD=1 pnpm --dir ./packages/nutui-taro-demo build:h5", |
78 | 80 | "generate:file": "node scripts/generate-nutui.js", |
79 | 81 | "generate:themes": "node scripts/generate-themes.js", |
80 | 82 | "generate:themes-dev": "node scripts/generate-themes-dev.js", |
|
86 | 88 | "publish:beta": "npm publish --tag beta", |
87 | 89 | "test": "vitest --coverage", |
88 | 90 | "test:ui": "vitest --ui --coverage", |
89 | | - "cypress:run": "cypress run --env baseUrl=http://localhost:5173/react/demo.html#/zh-CN/component/ --spec 'cypress/e2e/h5/index.cy.js'", |
90 | | - "cypress:open": "cypress open --env baseUrl=http://localhost:5173/react/demo.html#/zh-CN/component/ 'cypress/e2e/h5/index.cy.js'", |
| 91 | + "cypress:run": "cypress run --spec 'cypress/e2e/h5/index.cy.js'", |
| 92 | + "cypress:open": "cypress open 'cypress/e2e/h5/index.cy.js'", |
91 | 93 | "cypress:run:taro": "cypress run --env baseUrl=http://localhost:10086/#/ --spec 'cypress/e2e/taro/index.cy.js'", |
92 | 94 | "cypress:open:taro": "cypress open --env baseUrl=http://localhost:10086/#/ 'cypress/e2e/taro/index.cy.js'", |
93 | | - "e2e:run:h5": "start-server-and-test dev http://localhost:5173/ cypress:run", |
94 | | - "e2e:open:h5": "start-server-and-test dev http://localhost:5173/ cypress:open", |
| 95 | + "e2e:run:h5": "start-server-and-test dev http://localhost:5173/react/ cypress:run", |
| 96 | + "e2e:open:h5": "start-server-and-test dev http://localhost:5173/react/ cypress:open", |
95 | 97 | "e2e:run:taro": "start-server-and-test dev:taro:h5 http://localhost:10086 cypress:run:taro", |
96 | 98 | "e2e:open:taro": "start-server-and-test dev:taro:h5 http://localhost:10086 cypress:open:taro", |
97 | 99 | "update:taro:entry": "node ./scripts/harmony/update-taro-entry", |
|
112 | 114 | "@use-gesture/react": "10.2.20", |
113 | 115 | "async-validator": "^4.2.5", |
114 | 116 | "classnames": "^2.5.1", |
115 | | - "react-fast-compare": "^3.2.2", |
116 | 117 | "lodash.kebabcase": "^4.1.1", |
117 | 118 | "lottie-miniprogram": "^1.0.12", |
118 | 119 | "lottie-react": "^2.4.0", |
119 | | - "react-transition-group": "^4.4.5" |
| 120 | + "react-fast-compare": "^3.2.2", |
| 121 | + "react-transition-group": "^4.4.5", |
| 122 | + "rehype-highlight": "^7.0.2" |
120 | 123 | }, |
121 | 124 | "devDependencies": { |
122 | 125 | "@babel/plugin-proposal-class-properties": "^7.18.6", |
123 | 126 | "@commitlint/cli": "^19.0.3", |
124 | 127 | "@commitlint/config-conventional": "^19.0.3", |
| 128 | + "@inquirer/prompts": "^7.2.3", |
125 | 129 | "@loadable/component": "^5.16.3", |
126 | 130 | "@mdx-js/mdx": "^3.0.1", |
127 | 131 | "@mdx-js/react": "^3.0.1", |
|
131 | 135 | "@rollup/plugin-commonjs": "^26.0.1", |
132 | 136 | "@rollup/plugin-node-resolve": "16.0.0", |
133 | 137 | "@rollup/plugin-typescript": "^11.1.6", |
| 138 | + "@shikijs/markdown-it": "^3.0.0", |
134 | 139 | "@swc/core": "^1.4.8", |
135 | 140 | "@tarojs/components": "4.0.8-beta.1", |
136 | 141 | "@tarojs/plugin-platform-alipay": "4.0.8-beta.1", |
|
156 | 161 | "@vitejs/plugin-react": "^4.2.1", |
157 | 162 | "@vitest/coverage-v8": "^2.0.4", |
158 | 163 | "@vitest/ui": "^2.0.4", |
159 | | - "@inquirer/prompts":"^7.2.3", |
160 | 164 | "autoprefixer": "^10.4.17", |
161 | 165 | "axios": "^1.6.7", |
162 | 166 | "cypress": "^13.15.0", |
|
0 commit comments