UNPKG

validate-note

Version:

🎼 Validates a note (scientific pitch notation) and throws errors if needed

73 lines (72 loc) • 2.42 kB
{ "name": "validate-note", "version": "1.4.0", "description": "🎼 Validates a note (scientific pitch notation) and throws errors if needed", "main": "cjs/index.js", "browser": "dist/validateNote.js", "module": "es/index.js", "jsxnext:main": "es/index.js", "files": [ "dist", "cjs", "es", "src" ], "engines": { "node": ">=4.0.0" }, "scripts": { "precommit": "npm run lint:test", "prepush": "npm run lint:test", "prepublish": "npm run build", "release": "release-it", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "lint": "npm run lint:eslint && npm run lint:flow", "lint:eslint": "eslint src/*.js", "lint:flow": "flow --color always", "lint:build": "npm run lint && npm run build:cjs -s", "lint:test": "npm run lint && npm run test:coverage", "test": "clear && jest", "test:watch": "clear && jest --watch", "test:coverage": "jest --coverage ", "build": "clear && npm run lint:test && npm run build:cjs && npm run build:es && npm run build:umd", "build:watch": "rimraf cjs && cross-env BABEL_ENV=cjs babel --watch src --out-dir cjs", "build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es", "build:cjs": "rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs", "build:umd": "rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c" }, "keywords": [ "audio", "note", "scientific pitch", "web audio", "music", "music theory" ], "author": "Geoffrey Dhuyvetters <geoffrey.dhuyvetters@gmail.com>", "license": "MIT", "repository": "duivvv/validate-note", "devDependencies": { "babel-cli": "^6.18.0", "babel-core": "^6.17.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-flow-strip-types": "^6.18.0", "babel-preset-es2015": "^6.16.0", "coveralls": "^2.11.15", "cross-env": "^3.1.3", "eslint": "^3.7.1", "eslint-config-devine": "^1.5.0", "eslint-plugin-babel": "^4.0.0", "flow-bin": "^0.37.0", "husky": "^0.12.0", "jest": "^18.1.0", "npm-watch": "^0.1.6", "release-it": "^2.5.1", "rimraf": "^2.5.4", "rollup": "^0.39.1", "rollup-plugin-babel": "^2.6.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-node-resolve": "^2.0.0", "rollup-plugin-uglify": "^1.0.1" } }