🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

sample-react-scripts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sample-react-scripts

Configuration and scripts for Create React App.

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
6
20%
Maintainers
1
Weekly downloads
 
Created
Source

派样基于react-create-app的自定义脚手架

  • 支持安装 @ali 私有包
  • 支持 less
  • 支持 react-css-modules
  • 升级 postcss-loader 4.0
  • 增加 postcss-px-to-viewport ( 通过环境 REACT_APP_ViewportWidth 可以关闭)
  • 增加 webpack-bundle-analyzer
  • 增加 babel-plugin-import ( antd-mobile 按需引入 )
  • 增强 eslint 配置, 使用airbnb,eslint-import-resolver-alias
  • 增加版本号 process.env.rel
  • 增加jsconfig
  • 项目结构调整
  • 增加 git hook -- husky
  • 使用 redux,redux-thunk,redux-promise-es
  • 使用 vconsole
  • 使用 sample-request
  • 支持 REACT_APP_BuildHash 关闭打包hash
  • 使用 sample-utils
  • 使用 sample-components

基于 react-scripts 4.0.1

FAQs

Package last updated on 02 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts