magnolia-frontend-scripts
collection of gulp-scripts for building magnolia frontends
Last updated 10 months ago by k_p_u .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install magnolia-frontend-scripts 
SYNC missed versions from official npm registry.

magnolia-frontend-scripts

  • install with:

      yarn add magnolia-frontend-scripts 
    
  • add this into your projects package.json:

      "scripts": {
         "build": "neo-mfs build",
         "check": "neo-mfs check",
         "start": "neo-mfs default"
      }
    
  • make sure your directory layout looks like this:

      - <project-name>
          -> <name>-ui 
              -> <name>-ui
              -> frontend (here is your package.json etc)
          -> <name>-webapp 
    
  • add correct path names to a file named ".projectrc" in your frontend directory:

      const basePaths = {
          root: '.',
          src: 'src',
          srcClient: 'src/client',
          srcServer: 'src/server',
          dist: 'dist',
          distPublic: 'dist/webresources',
          distSrcUI: '../swidch-ui-light/',
          distSrcWeb: '../swidch-ui-light/web',
          distTargetMagnolia: '../../swidch-webapp/target/cmsauthor/modules/swidch-ui-light'
      };
      
      module.exports = basePaths;
    
  • TODO

    • make more configurable
    • log gulp output too
    • ...

Current Tags

  • 0.3.9                                ...           latest (10 months ago)

19 Versions

  • 0.3.9                                ...           10 months ago
  • 0.3.7                                ...           10 months ago
  • 0.3.6                                ...           a year ago
  • 0.3.5                                ...           a year ago
  • 0.3.4                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.10 [deprecated]           ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.7 [deprecated]           ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 21
Dependencies (37)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |