UNPKG

fretboard-api

Version:

A kind of API for fretboard diagrams

128 lines (127 loc) 3.9 kB
{ "name": "fretboard-api", "version": "0.7.1", "description": "A kind of API for fretboard diagrams", "author": "François Georgy <francois.georgy@gmail.com>", "license": "MIT", "keywords": [ "fretboard", "api" ], "repository": { "type": "git", "url": "https://github.com/francoisgeorgy/fretboard-api.git" }, "main": "dist/index.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=6.0.0" }, "scripts": { "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "prebuild": "rimraf dist", "xbuild": "tsc --module commonjs && rollup -c rollup.config.js && typedoc --out docs --target es6 --theme minimal --mode file src", "build-and-doc": "rollup -c rollup.config.js && typedoc --out docs --target es6 --theme minimal --mode file src", "build": "rollup -c rollup.config.js", "build-only": "rollup -c rollup.config.js", "start": "rollup -c rollup.config.js -w", "test": "jest", "test-coverage": "jest --coverage", "test:watch": "jest --coverage --watch", "test:prod": "npm run lint && npm run test -- --no-cache", "deploy-docs": "ts-node tools/gh-pages-publish", "report-coverage": "cat ./coverage/lcov.info | coveralls", "semantic-release": "semantic-release", "semantic-release-prepare": "ts-node tools/semantic-release-prepare", "precommit": "lint-staged" }, "lint-staged": { "{src,test}/**/*.ts": [ "prettier --write", "git add" ] }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testEnvironment": "node", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "testPathIgnorePatterns": [ "/node_modules/", "/v0.*/", "/discarded/", "/tmp/" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/", "/v0.*/", "/discarded/" ], "coverageThreshold": { "global": { "branches": 90, "functions": 95, "lines": 95, "statements": 95 } }, "collectCoverageFrom": [ "src/*.{js,ts}" ], "globals": { "ts-jest": { "diagnostics": false } } }, "prettier": { "semi": false, "singleQuote": true }, "devDependencies": { "@types/jest": "^25.1.4", "@types/node": "^13.9.2", "colors": "^1.3.2", "coveralls": "^3.0.2", "cross-env": "^7.0.2", "jest": "^25.1.0", "jest-config": "^25.1.0", "lint-staged": "^10.0.8", "lodash.camelcase": "^4.3.0", "prettier": "^1.14.3", "prompt": "^1.0.0", "replace-in-file": "^5.0.2", "rimraf": "^3.0.2", "rollup": "^2.1.0", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^5.0.0", "rollup-plugin-sourcemaps": "^0.5.0", "rollup-plugin-typescript2": "^0.26.0", "semantic-release": "^17.0.4", "shelljs": "^0.8.3", "travis-deploy-once": "^5.0.9", "ts-jest": "^25.2.1", "ts-node": "^8.2.0", "tslint": "^6.1.0", "tslint-config-prettier": "^1.15.0", "tslint-config-standard": "^9.0.0", "typedoc": "^0.17.1", "typescript": "^3.5.1" }, "dependencies": { "immer": "^6.0.2", "tonal": "^2.2.2" } }