Giter Club home page Giter Club logo

skeleton-catalog's Introduction

skeleton-catalog

skeleton with all needed infrastructure for creating a catalog application for the aurelia plugin

skeleton-catalog's People

Contributors

thanood avatar

Watchers

 avatar  avatar

Forkers

thanood

skeleton-catalog's Issues

Upgrading to Babel 6

This issue serves as a documentation on how I've upgraded this catalog app to Babel 6 while retaining the babel-runtime at version 5 for JSPM. Following the conversation here: โ˜๏ธ 6. Juni 2016 15:14

The upgrade steps I took are as follows:

  • delete all babel occurrences in package.json but babel-runtime and babel-eslint
  • replace these with (npm install --save-dev):
    • babel
    • babel-dts-generator
    • babel-plugin-syntax-flow
    • babel-plugin-transform-decorators-legacy - to support es7 decorators
    • babel-plugin-transform-es2015-modules-amd - to support output in AMD format
    • babel-plugin-transform-es2015-modules-commonjs - to support output in CommonJS format
    • babel-plugin-transform-es2015-modules-systemjs - to support output in SystemJS format
    • babel-plugin-transform-flow-strip-types
    • babel-preset-es2015 - es2015 preset
    • babel-preset-es2015-loose
    • babel-preset-es2015-stage1

the diff

Babel 6 uses a slightly different configuration. For example stages are now managed by the presets section as opposed to being a top level setting. The transformations (transform-decorators-legacy, transform-flow-strip-types) are not included in babel's presets.

So I've changed the configuration file like this: the diff.

This configuration is taken originally from an issue in aurelia-materialize-bridge.

The different build targets are exported as functions which extend the base configuration options (see here).

The build task has been changed accordingly: see here (the diff).

original: aurelia-ui-toolkits/aurelia-v-grid#7

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.