Skip to content

systemjs tools for generate system.config.js with package.json dependencies and subdependencies

Notifications You must be signed in to change notification settings

jnath/system-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

system-pack

systemjs tools for generate system.config.js with package.json dependencies and subdependencies

install

npm install system-pack --save-dev

add this on your package.json

...
"scripts": {
  ...
  "config":"system-pack"
  ...
},
...

use system-pack npm run config

override configuration

override in package.json add key "system" in package.json and add averride configuration of systemjs paths, packages, packageConfigPaths, maps, meta

"system": {
    "paths": {
      "core-js/library/fn/symbol": "core-js/library/fn/symbol/index.js"
    },
    "packages": {
      "/lib": {
        "defaultExtention": "js"
      },
      "react": {
        "main": "dist/react.js"
      },
      "react-dom": {
        "main": "dist/react-dom.js"
      }
    }
  }

About

systemjs tools for generate system.config.js with package.json dependencies and subdependencies

Resources

Stars

Watchers

Forks

Packages

No packages published