ocular v0.6.2
Ocular
Install
yarn add ocular -DUsage
ocular startStarts the website
ocular buildGenerate the dist
ocular lintStarts linting process
Create
To create a project using ocular, a command fits this purpose.
Before getting started, create a directory, and go in there
mkdir yolo && $_Then create a basic package.json
npm init -yYou can now install ocular as a devDep
yarn add -D ocularAnd finally launch the cli
./node_modules/.bin/ocular initExamples
Why
This project was originally created in order to avoid copy and pasting the website of deck.gl into new projects and provide an easy and clean way to bootstrap one while keeping most of the config in one place, that could allow for fixes across ocularized projects.
Most of the magic of Ocular resides in the resolve rule of the webpack config, which
basically takes the project files at first and fallbacks to Ocular's. This way, you can
override every single file required by this CRA-like application.
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
12 years ago