$ cnpm install @factorial/frontend-stack-core
@factorial/frontend-stack-core
is Neutrino middleware for building CSS and JS files.
browser
env as default eslint environment.@factorial/frontend-stack-core
can be installed via the Yarn or npm clients.
yarn add neutrino @factorial/frontend-stack-core --dev
Then add the following your package.json
.
"scripts": {
"start": "yarn run neutrino start --use @factorial/frontend-stack-core",
"build": "yarn run neutrino build --use @factorial/frontend-stack-core --options.env.NODE_ENV production"
}
Default entry point is ./src/index.js
.
An example can that consumes @factorial/frontend-stack-core
can be found at
https://github.com/factorial-io/factorial-frontend-stack/tree/master/example
Copyright 2014 - 2016 © taobao.org |