codebaby

1.0.3 • Public • Published

codebaby

codebaby

Frontend lab.

info

codebaby is a out of the box frontend lab to easy setup frontend projects.

codebaby is the working horse of a real word agency, which means it is stable and build for productivity. Sadly theres no documentation at the moment.

Requirements

  • os : macOS
  • node : >=6.0.0
  • npm : >=3.3.4
  • curiosity

Capabilities

  • ready for creating react, vue, typescript or classic ES5 projects.
  • multiple projects with different project types in the same workspace.
  • automated project creation , with tasks for development, production, remote and testing.
  • global deployment script to create versioned project builds ( optional as .zip files ).
  • integrated preprocessing options, to simplify project modifications.
  • javascript bundle with rollup.js & babel.js.
  • html templating with ejs.
  • css creation with node.sass & postcss.
  • img optimisation with imagemin.
  • testing with tape, jasmine or mocha.
  • integrated cordova module to build apps.
  • integrated express module to handle server interaction.

Installation

npm install codebaby

Usage

after installion a npm script is added to your packacke.json

  cb:setup

these task will setup all active projects defined in codebaby.config.js :

  module.exports = {
         "projects": {
             "foo": "", // es5
             "foo-babel-env": "tpl=babel-env", // es6++
             "foo-vue": "tpl=vue",
             "foo-react": "tpl=react",
             "foo-react-typescript": "tpl=react-typescript",
             "foo-angular-js": "tpl=angular-js",
             "foo-angular-js-typescript": "tpl=angular-js-typescript",
             "foo-typescript": "tpl=typescript",
         }
     };

After runing the script 'cb:setup' your package.json will be updated with new scripts to lanch your project(s).

  foo:dev
  foo:production
  foo:remote
  foo:test

( task options )

  • dev -> NODE_ENV = 'develop'
  • production -> NODE_ENV = 'production'
  • remote -> remote mode
  • test -> execute all tests (if tests enabled in projects/../config/build.js)

A new project 'foo' is created under /projects/foo.

Run script foo : dev

Codebaby asks you for installation of additional dependencies which are required ( depending on your project type ). Confirm installation in your console window, and the project will be launched in chrome browser.

Play with the code under project/foo/src.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.31latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.31
1.0.20
1.0.10
1.0.00
0.9.110
0.9.100
0.9.90
0.9.70
0.9.60
0.9.50
0.9.40
0.9.20
0.8.330
0.8.300
0.8.280
0.8.270
0.8.260
0.8.250
0.8.130
0.8.120
0.8.110
0.8.80
0.8.60
0.8.30
0.8.20
0.8.10
0.7.120
0.7.110
0.7.100
0.7.90
0.7.60
0.6.140
0.6.100
0.6.90
0.6.80
0.6.70
0.6.60
0.6.50
0.6.40
0.5.10
0.5.00
0.4.40
0.4.30
0.4.20
0.4.10
0.4.00
0.3.110
0.3.100
0.3.90
0.3.80
0.3.70
0.3.60
0.3.50
0.3.40
0.3.30
0.3.20
0.3.10
0.3.00
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.240
0.1.230
0.1.220
0.1.210
0.1.200
0.1.190
0.1.180
0.1.170
0.1.160
0.1.150
0.1.140
0.1.130
0.1.120
0.1.110
0.1.100
0.1.90
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.101
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10
0.0.00

Package Sidebar

Install

npm i codebaby

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

572 kB

Total Files

392

Last publish

Collaborators

  • egomono