0.11.0 ā€¢ Published 3 years ago

@cremalab/scripts-web v0.11.0

Weekly downloads
72
License
ISC
Repository
github
Last release
3 years ago

Scripts šŸ“œ

Packages containing config, scripts, and dependencies for Crema apps.

šŸ§° Tools Used

  • lerna A tool for managing JavaScript projects with multiple packages.
  • ESLint for code linting
  • Jest for unit tests
  • Prettier for code formatting (via ESLint plugin)
  • TypeScript for Static Typing in JavaScript (Learn)

šŸ— Setup

  1. Install Node/NPM
  2. Install NVM (Node Version Manager)
  3. nvm install 'lts/*' && nvm use
  4. npm i (install project dependencies)
  5. Install the ESLint plugin for your editor VS Code
  6. Enable "Auto-Fix on Save" in settings.json:
{
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    { "language": "typescript", "autoFix": true },
    { "language": "typescriptreact", "autoFix": true }
  ]
}

šŸ‘Ÿ Run

Run the following scripts with npm run <SCRIPT_HERE>:

TBD

These scripts are located in package.json and do not represent the entirety of available scripts, but are the most commonly used.

šŸ› Structure

.
ā”œā”€ā”€ README.md
ā”œā”€ā”€ consumers
ā”‚Ā Ā  ā””ā”€ā”€ app-web
ā”œā”€ā”€ lerna.json
ā”œā”€ā”€ package-lock.json
ā”œā”€ā”€ package.json
ā””ā”€ā”€ packages
    ā”œā”€ā”€ scripts
    ā”‚Ā Ā  ā”œā”€ā”€ configs
    ā”‚Ā Ā  ā””ā”€ā”€ package.json
    ā”œā”€ā”€ scripts-mobile
    ā”‚Ā Ā  ā”œā”€ā”€ configs
    ā”‚Ā Ā  ā””ā”€ā”€ package.json
    ā””ā”€ā”€ scripts-web
        ā”œā”€ā”€ configs
        ā””ā”€ā”€ package.json

šŸ“¦ Distribution

TBD

0.11.0

3 years ago

0.10.0

3 years ago

0.10.0-alpha.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.3.0

4 years ago

0.4.0

4 years ago

0.2.0

4 years ago

0.1.6

4 years ago