system-pack
v1.0.3
Published
systemjs tools for generate system.config.js with package.json dependencies and subdependencies
Downloads
3
Readme
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"
}
}
}