Skip to content

About

angular-seed-spm

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

angular-seed-spm

angular-seed

用于构建angular项目的模板工程,适用于直接构建ng项目。

本项目是提供了spm支持(即支持commonJs规范)的angular-seed模板。

Install (安装):

Global Environment

  • install nodejs
  • install spm (npm install spm -g)

Install Modules

  • cd apps && npm install
  • cd ./ && npm install

Useage (使用):

apps

  • 支持commonJS规范的js应用
  • 工作目录为./apps/
  • 命令:spm build

public/css/less

  • 支持less自动生成与处理
  • 工作目录为./public/css/less/
  • 命令:gulp less

public/css/scss

  • 支持less自动生成与处理
  • 工作目录为./public/css/scss/
  • 命令:gulp sass

explain (说明):

Explain:

  • public
    • public 为共有文件目录
    • public/css 样式表文件目录
    • public/images 图像资源目录
    • public/vendors 其他库的资源文件(例如jquery等)
  • apps
    • apps 应用目录
    • apps/src 源码目录(未打包)
    • apps/dist 打包后的代码目录
    • apps/sea-module 库文件

License

The MIT License (MIT)

Copyright (c) 2014 @Thonatos.Yang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

angular-seed-spm

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors