Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

[Fretboard.js][homepage] is:

- a guitar/bass fretboard SVG visualisation;
- a set of music oriented tools - as scale boxes, arpeggios and chord shapes;
- an API for user interaction.
- a guitar/bass fretboard SVG visualisation;
- a set of music oriented tools - as scale boxes, arpeggios and chord shapes;
- an API for user interaction.

## Usage and installation

Expand All @@ -16,7 +16,7 @@

## [ISC License](https://spdx.org/licenses/ISC)

Copyright (c) 2020, Diego Caponera <hello@diegocaponera.com>
Copyright (c) 2022, Diego Caponera <hello@diegocaponera.com>

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

Expand Down
61,212 changes: 30,601 additions & 30,611 deletions package-lock.json

Large diffs are not rendered by default.

172 changes: 86 additions & 86 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
{
"name": "@moonwave99/fretboard.js",
"version": "0.2.7",
"description": "Fretboard diagram generator",
"homepage": "https://moonwave99.github.io/fretboard.js/",
"main": "dist/fretboard.cjs.js",
"module": "dist/fretboard.esm.js",
"browser": "dist/fretboard.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist/fretboard.*.js",
"dist/fretboard.*.map",
"dist/**/*.d.ts"
],
"scripts": {
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' npx ava-ts",
"coverage": "nyc npm run test",
"lint": "npx eslint ./src --ext .js,.jsx,.ts,.tsx",
"start:dev": "rollup -c -w",
"build:prod": "rollup -c",
"site:dev": "webpack-dev-server",
"site:prod": "webpack",
"site:deploy": "npm run build:prod && npm run site:prod && gh-pages -d ./_site"
},
"keywords": [
"music",
"guitar",
"fretboard",
"svg"
],
"repository": {
"type": "git",
"url": "https://github.com/moonwave99/fretboard.js"
},
"author": "Diego Caponera <hello@diegocaponera.com>",
"license": "ISC",
"ava": {
"require": [
"esm"
]
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.0.1",
"@tonaljs/chord": "^4.5.1",
"@types/d3-selection": "^1.4.1",
"@types/throttle-debounce": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"abcjs": "^6.0.0-beta.24",
"ava": "^3.8.2",
"ava-ts": "^0.25.2",
"browser-env": "^3.3.0",
"bulma": "^0.8.2",
"copy-webpack-plugin": "^6.0.2",
"css-loader": "^3.5.3",
"eslint": "^7.2.0",
"esm": "^3.2.25",
"fs-extra": "^9.0.1",
"gh-pages": "^2.2.0",
"html-webpack-plugin": "^4.3.0",
"lodash": "^4.17.15",
"marked": "^1.1.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass-json-importer": "^4.3.0",
"nyc": "^15.1.0",
"prismjs": "^1.20.0",
"rollup": "^2.15.0",
"rollup-plugin-typescript2": "^0.29.0",
"sass": "^1.29.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"ts-node": "^8.10.2",
"tslib": "^1.13.0",
"typescript": "^3.9.5",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@tonaljs/interval": "^4.5.1",
"@tonaljs/mode": "^4.5.1",
"@tonaljs/note": "^4.6.0",
"@tonaljs/scale": "^4.6.0",
"change-case": "^4.1.2",
"d3-selection": "^1.4.1",
"throttle-debounce": "^2.2.1"
}
"name": "@moonwave99/fretboard.js",
"version": "0.2.7",
"description": "Fretboard diagram generator",
"homepage": "https://moonwave99.github.io/fretboard.js/",
"main": "dist/fretboard.cjs.js",
"module": "dist/fretboard.esm.js",
"browser": "dist/fretboard.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist/fretboard.*.js",
"dist/fretboard.*.map",
"dist/**/*.d.ts"
],
"scripts": {
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' npx ava-ts",
"coverage": "nyc npm run test",
"lint": "npx eslint ./src --ext .js,.jsx,.ts,.tsx",
"start:dev": "npx rollup -c -w",
"build:prod": "rollup -c",
"site:dev": "webpack-dev-server",
"site:prod": "webpack",
"site:deploy": "npm run build:prod && npm run site:prod && gh-pages -d ./_site"
},
"keywords": [
"music",
"guitar",
"fretboard",
"svg"
],
"repository": {
"type": "git",
"url": "https://github.com/moonwave99/fretboard.js"
},
"author": "Diego Caponera <hello@diegocaponera.com>",
"license": "ISC",
"ava": {
"require": [
"esm"
]
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/d3-selection": "^1.4.1",
"@types/throttle-debounce": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"abcjs": "^6.0.0-beta.24",
"ava": "^3.8.2",
"ava-ts": "^0.25.2",
"browser-env": "^3.3.0",
"bulma": "^0.8.2",
"copy-webpack-plugin": "^6.0.2",
"css-loader": "^3.5.3",
"eslint": "^7.2.0",
"esm": "^3.2.25",
"fs-extra": "^9.0.1",
"gh-pages": "^2.2.0",
"html-webpack-plugin": "^4.3.0",
"lodash": "^4.17.15",
"marked": "^1.1.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass-json-importer": "^4.3.0",
"nyc": "^15.1.0",
"prismjs": "^1.20.0",
"rollup": "^2.15.0",
"rollup-plugin-typescript2": "^0.29.0",
"sass": "^1.29.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"ts-node": "^8.10.2",
"tslib": "^1.13.0",
"typescript": "^3.9.5",
"webpack": "^4.43.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@tonaljs/interval": "^4.5.1",
"@tonaljs/mode": "^4.5.1",
"@tonaljs/note": "^4.6.0",
"@tonaljs/scale": "^4.6.0",
"@tonaljs/chord": "^4.5.1",
"change-case": "^4.1.2",
"d3-selection": "^1.4.1",
"throttle-debounce": "^2.2.1"
}
}
88 changes: 44 additions & 44 deletions site/config.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"colors": {
"defaultFill": "white",
"defaultActiveFill": "#ff636c",
"defaultStroke": "black",
"defaultActiveStroke": "#ff636c",
"disabled": "#aaa",
"primaryFill": "#3273dc",
"intervals": {
"1P": "#F25116",
"2M": "#FCFF6C",
"2m": "#FCFF6C",
"3m": "#F29727",
"3M": "#F29727",
"4P": "#2FABEE",
"4A": "#2FABEE",
"5P": "#D89D6A",
"5A": "#D89D6A",
"6M": "#D7FFAB",
"6m": "#D7FFAB",
"7M": "#96ADC8",
"7m": "#96ADC8"
},
"octaves": [
"#70D6FF",
"#FFBE0B",
"#E9FF70",
"#FF70A6",
"#6ae674"
],
"chordTypes": {
"maj7": "#00bbf9",
"7": "#F25116",
"m7": "#F29727",
"m7b5": "#8338ec"
},
"modes": {
"ionian": "#e76f51",
"dorian": "#6a994e",
"phrygian": "#8338ec",
"lydian": "#ffbd00",
"mixolydian": "#e36414",
"aeolian": "#00bbf9",
"locrian": "#1D5DF2"
"colors": {
"defaultFill": "white",
"defaultActiveFill": "#ff636c",
"defaultStroke": "black",
"defaultActiveStroke": "#ff636c",
"disabled": "#aaa",
"primaryFill": "#3273dc",
"intervals": {
"1P": "#F25116",
"2M": "#FCFF6C",
"2m": "#FCFF6C",
"3m": "#F29727",
"3M": "#F29727",
"4P": "#2FABEE",
"4A": "#2FABEE",
"5P": "#D89D6A",
"5A": "#D89D6A",
"6M": "#D7FFAB",
"6m": "#D7FFAB",
"7M": "#96ADC8",
"7m": "#96ADC8"
},
"octaves": ["#70D6FF", "#FFBE0B", "#E9FF70", "#FF70A6", "#6ae674"],
"chordTypes": {
"maj7": "#00bbf9",
"7": "#F25116",
"m7": "#F29727",
"m7b5": "#8338ec"
},
"modes": {
"ionian": "#e76f51",
"dorian": "#6a994e",
"phrygian": "#8338ec",
"lydian": "#ffbd00",
"mixolydian": "#e36414",
"aeolian": "#00bbf9",
"locrian": "#1D5DF2"
},
"triads": {
"M": "#70D6FF",
"m": "#FFBE0B",
"dim": "#E9FF70",
"aug": "#FF70A6"
}
}
}
}
Loading