Coder Social home page Coder Social logo

smarty's Introduction

{{projectName}} module

wise 下的顶部提示模块

快速开始

安装依赖

npm install --registry=http://registry.npm.baidu-int.com

dev.config 文件

在工程根目录新建 dev.config.js 文件,内容如下(把机器名换成你的测试机/调研机):

module.exports = {
    receiver: 'http://xxx.baidu.com:8210'
};

编译部署

  • npm run lint: 检查代码风格
  • npm run test: 执行单元测试
  • npm run coveralls: 产出测试覆盖率报告
  • npm run build: 编译并将编译后的代码生成至dist目录下
  • npm run deploy: 将dist目录下的文件部署到测试机,依赖测试机的 receiver 文件,以及本地dev.config.js配置
  • npm run watch: 实时编译部署开发环境代码,依赖测试机的 receiver 文件,以及本地dev.config.js配置 dev.config.js。参考:http://agroup.baidu.com/wise-survive/md/article/977636

预编译

预编译文件路径:/home/work/odp/tmp/odp/smarty/modules/{{projectName}}/ 预编译部署路径:/home/work/odp/

smarty's People

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.