0.2.3 • Published 4 years ago

@bldr/songbook-intermediate-files v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

npm Build Status GitHub repo size

baldr

A try to write my presentations for school in HTML5, CSS3 and Javascript using Vuejs.

This repository contains some evaluation and research code.

About the name baldr

Baldr is the name of a nordic god. He is the of god of light.

Installation / Building

npm install -g lerna
lerna bootstrap

Upgrading

sudo npm install -g npm-check-updates
lerna exec "ncu -u"
lerna exec "npm update"

Sort package.json

sudo npm install -g sort-package-json
lerna exec "sort-package-json"

Publishing

lerna publish

Coding style

main.js

{
  "main": "src/main.js"
}

The Baldr project follows the standardJS style guides.

Imports

Node packages

// Node packages.
const path = require('path')

// Third party packages.
const jquery = require('jquery')

// Project packages.
const { bootstrapConfig, Library, AlphabeticalSongsTree } = require('@bldr/songbook-base')

Vue imports

// Vue plugins.
import shortcuts from '@bldr/vue-plugin-shortcuts'

// Vue components.
import StartPage from './views/StartPage.vue'

Private fields

https://google.github.io/styleguide/jsguide.html#features-classes-fields

class Foo {
  constructor() {
    this.bar_ = computeBar()
  }
}

vue

Component name

  • At least two words
  • MyComponent.vue (Pascal Case)
  • name: 'MyComponent' (Pascal Case)
  • Top level Vue component css class, prefix with vc = Vue component: Snake Case
    • HTML: class="vc_my_component"
    • CSS: .vc_my_component

Documentation

Description in 3 places:

  • README.md
  • main.js above @module
  • package.json

README.md template

[![npm](https://img.shields.io/npm/v/baldr.svg)](https://www.npmjs.com/package/baldr)
[![Build Status](https://travis-ci.org/Josef-Friedrich/baldr.svg?branch=master)](https://travis-ci.org/Josef-Friedrich/baldr)
[![GitHub repo size](https://img.shields.io/github/repo-size/Josef-Friedrich/baldr.svg)](https://github.com/Josef-Friedrich/baldr)

# @bldr/package-name

Description
0.2.3

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.35

4 years ago

0.1.34

4 years ago

0.1.33

4 years ago

0.1.32

4 years ago

0.1.31

4 years ago

0.1.30

4 years ago

0.1.29

4 years ago

0.1.28

4 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.10

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago