GithubHelp home page GithubHelp logo

beyonddr's Introduction

beyondDR

目录结构

├── cfg                     # webpack和npm运行的脚本配置
├── dist                    # 编译之后代码位置
├── karma.conf.js           # karma测试的配置文件
├── node_modules            # 第三方依赖和工具存放位置
├── package.json            # npm配置文件
├── server.js               # webpack-dev-server启动
├── src                     # 源代码文件
│   ├── actions             # redux的action文件
│   ├── components          # react的组件
│   ├── config              # 不同环境下的配置文件
│   ├── images              # 图片文件
│   ├── reducers            # redux的reduce文件
│   ├── stores              # redux的store文件
│   ├── styles              # 样式文件
│   ├── index.html          
│   └── index.js
├── test                    # 测试文件
│   ├── actions
│   ├── components
│   ├── config
│   ├── helpers
│   ├── loadtests.js
│   ├── sources
│   └── stores
└── webpack.config.js       # webpack配置文件

使用方法

  1. 获得最新版本到本地
$ git clone https://github.com/DashShen/beyondDR.git
  1. 执行npm install 命令下载依赖包
$ npm install
  1. 执行npm start 启动
$ npm start

执行该命令会在浏览器中打开地址为localhost:8000/webpack-dev-server/的窗口用于开发调试,不会在dist目录下生产代码,并且相应的代码修改会进行热加载

Build, Test

  • 如果希望在dist目录下生成代码文件,执行
$ npm run dist

执行完命令之后,会在dist目录下生成此版本的可部署代码

  • 如果想进行代码的语法与风格检查,执行
$ npm run lint
  • 如果想使用karma进行测试,执行下列命令
$ npm run test

beyonddr's People

Contributors

dashshen avatar mrart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.