@unic/estatico-boilerplate
Demo repo based on old Estático. Tasks were completely replaced with new ones and the source files were adapted where necessary.
Last updated 2 years ago by backflip .
Apache-2.0 · Repository · Original npm · Tarball · package.json
$ cnpm install @unic/estatico-boilerplate 
SYNC missed versions from official npm registry.

@unic/estatico-boilerplate

Demo repo based on old Estático. Tasks were completely replaced with new ones and the source files were adapted where necessary.

Installation

# Use git to get boilerplate subpackage from monorepo
# We are only interested in the current directory, so we can get rid of everthing else via `git filter-branch`
git clone https://github.com/unic/estatico-nou.git
cd estatico-nou
git filter-branch --subdirectory-filter packages/estatico-boilerplate

# Optionally use Docker container, see below

# Install correct node version
nvm install

# Install npm packages
npm install

Usage

  • Run default task, building everything and starting web server: $ npm run gulp -- --dev --watch
  • Run specific task: $ npm run html -- --dev

See gulpfile.js for details.

Docker

# Create image (only initially and after changes to the Dockerfile)
docker build -t estatico .

# Start container and mount project directory
docker container run -it -p 9000:9000 -p 35729:35729 -v $(pwd):/app estatico /bin/bash

# Continue above (nvm is preinstalled in the box)
# After installing the correct node version via nvm, it might be helpful to commit this new state so it is persisted for the next run:
# docker commit CONTAINER_ID estatico

License

Apache 2.0.

Current Tags

  • 1.5.5                                ...           latest (2 years ago)

31 Versions

  • 1.5.5                                ...           2 years ago
  • 1.5.4                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.22                                ...           3 years ago
  • 0.0.21                                ...           3 years ago
  • 0.0.20                                ...           3 years ago
  • 0.0.19                                ...           3 years ago
  • 0.0.18                                ...           3 years ago
  • 0.0.17                                ...           3 years ago
  • 0.0.16                                ...           3 years ago
  • 0.0.15                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |