Nondigestible Purple Mayonnaise
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    zoro-kitpublic

    es5 -> es6

    • module.exports/require -> import/export
    • self/that -> () => {}
    • var -> let/const
    • object-shorthand
      • key: key -> key
      • a: function() {} -> a() {}

    install the followings globally

    npm i pm2 npm-run-all rimraf cross-env webpack postcss-cli -g --registry=https://registry.npm.taobao.org

    install the followings locally which can not be installed globally

    npm i watch rimraf fs-extra eslint-config-zorojs --save-dev
    npm i webpack webpack-dev-server html-loader json-loader raw-loader yaml-loader style-loader css-loader  --save-dev
    npm install postcss postcss-cli postcss-loader precss postcss-calc autoprefixer postcss-sprites --save-dev
    // http://stackoverflow.com/questions/33512715/babel-6-0-20-modules-feature-not-work-in-ie8
    // https://www.npmjs.com/package/babel-plugin-add-module-exports
    npm install babel-loader babel-core babel-preset-es2015 babel-preset-stage-3 babel-plugin-transform-es3-member-expression-literals babel-plugin-transform-es3-property-literals babel-plugin-add-module-exports --save-dev

    install the followings devDependencies globally or locally

    npm install regular-state regularjs stateman -g
    npm install lodash -g
    npm install once -g
    npm install url -g
    npm install xhr -g
    

    problems

    https://github.com/eslint/eslint/issues/6274#issuecomment-228420692

    koa

    npm i -g koa@next koa-compose@next koa-convert koa-mount@next koa-router@next koa-send koa-session koa-static@next koa-bodyparser@next

    Keywords

    none

    install

    npm i zoro-kit

    Downloadsweekly downloads

    186

    version

    0.1.184

    license

    MIT

    last publish

    collaborators

    • avatar