Commits (4)
Showing
... | ... | @@ -9,7 +9,8 @@ |
"*.scss", | ||
"dist/esm/**/style/*", | ||
"dist/style.css", | ||
"dist/styles/font/*" | ||
"dist/styles/font/*", | ||
"dist/styles/font-jmapp/*" | ||
], | ||
"description": "京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序", | ||
"keywords": [ | ||
... | ... | @@ -49,6 +50,7 @@ |
"generate:themes-dev": "node scripts/generate-themes-dev.js", | ||
"checked": "npm run generate:file && tsc", | ||
"dev": "npm run checked && vite --open --force", | ||
"dev:jmapp": "npm run checked && VITE_APP_PROJECT_ID=jmapp vite --open --force", | ||
"dev:theme": "npm run generate:themes-dev && npm run checked && vite --force --config vite.config.theme.ts", | ||
"replace:scss": "node scripts/replace-scss-alias.js", | ||
"build:dts": "node scripts/export-props.js && npx rollup -c rollup.config.dts.mjs", | ||
... | ... | @@ -74,9 +76,11 @@ |
"dev:taro:weapp": "npm run checked:taro && npm run generate:file:taro:pages && cd ./src/sites/mobile-taro && npm run dev:weapp", | ||
"dev:taro:jd": "npm run checked:taro && npm run generate:file:taro:pages && cd ./src/sites/mobile-taro && npm run dev:jd", | ||
"dev:taro:h5": "npm run checked:taro && npm run generate:file:taro:pages && cd ./src/sites/mobile-taro && npm run dev:h5", | ||
"dev:taro:weapp:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && cd ./src/sites/mobile-taro && npm run dev:weapp:jmapp", | ||
"replace:taro:types": "node scripts/taro/replace-taro-types-alias.js", | ||
"build:taro": "npm run checked:taro && vite build --config vite.config.build.taro.ts && npm run build:taro:es && npm run build:css && npm run build:loader-style && npm --taro run build:dts && npm run build:locales", | ||
"build:taro:es": "vite build --config vite.config.build.disperse.taro.ts", | ||
"build:taro:jmapp": "npm run checked:taro && vite build --config vite.config.build.taro.ts && npm run build:taro:es && VITE_APP_PROJECT_ID=jmapp npm run build:css && VITE_APP_PROJECT_ID=jmapp npm run build:loader-style && npm --taro run build:dts && npm run build:locales", | ||
"build:taro:weapp": "npm run checked:taro && vite build --config vite.config.build.taro.ts && npm run generate:file:taro:pages && cd ./src/sites/mobile-taro && npm run build:weapp", | ||
"add:taro:config": "node scripts/taro/generate-taro-route.js" | ||
}, | ||
... | ... | @@ -199,4 +203,4 @@ |
"@types/react": "18", | ||
"@types/react-dom": "18" | ||
} | ||
} | ||
} | ||
\ No newline at end of file |
src/styles/font-jmapp/config.json
0 → 100644
src/styles/font-jmapp/demo.css
0 → 100644
此差异已折叠。
文件已添加
src/styles/font-jmapp/iconfont.js
0 → 100644
此差异已折叠。
此差异已折叠。
文件已添加
文件已添加
文件已添加
src/styles/theme-jmapp.scss
0 → 100644
src/styles/variables-jmapp.scss
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。