1.3.1 • Published 2 days ago

sinto v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

Sinto web project management

Simple project management, with the Browser-sync and gulp packages in the background.

  • Development in the src directory.
  • Publishing from the public directory.

GitHub:

Install

npm i -g sinto

Using

Make a project:

mkdir app01
cd app01

Generate default directories and files:

sin init

Install default dependecies:

npm i

Development server

sin serve

Building

sin build

This command is generate public directory from src directory.

Commands

  • sin init - Initilalize the project
  • sin serve - Start development server
  • sin build - Start public generation
  • sin api - Generate fake REST API with hai-server
  • sin webpack - Generate Webpack project
  • sin pup - Generate Puppeteer test with Mocha

The Default task manager is gulp. Development serve is browser-sync.

Fake REST API server

The sin api command generate fake REST API project directory.

Using:

sin api
npm i

Generated files:

app01/
  |-database.json
  |-hai-server.json
  |-package.json
  `-README.md

Webpack project generator

The sin webpack command generate a webpack project.

Using:

sin webpack
npm i

Generated directories and files:

app01/
  |-assets/
  |-dist/
  |  `-index.html
  |-src/
  |  |-js/
  |  |  `-index.js
  |  `-scss/
  |     `-style.scss
  |-package.json
  |-README.md
  `-webpack.config.js

Puppeteer test with Mocha

The sin pup command generate a Puppeteer test with Mocha default test file.

Using:

sin pup
npm install --save-dev puppeteer mocha

Generated directories and files:

app01/
  `-test/
      `-apptest.js

Add to package.json file a script:

{
  "scripts": {
    "test": "mocha"
  }
}

Run the test:

npm test
1.3.1

2 days ago

1.3.0

2 days ago

1.2.4

28 days ago

1.2.3

1 month ago

1.2.2

1 month ago

1.2.1

1 month ago

1.2.0

1 month ago

1.1.1

1 month ago

1.1.0

1 month ago

1.0.7

1 month ago

1.0.6

1 month ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago