UNPKG

scribbletune

Version:

Create music with JavaScript and Node.js!

93 lines (92 loc) 2.98 kB
{ "name": "scribbletune", "version": "5.1.0", "description": "Create music with JavaScript and Node.js!", "main": "./index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": "./dist/index.js", "./browser": "./dist/browser.js" }, "scripts": { "clean": "rm -rf dist && rm -rf docs && rm -rf lib && rm -f browser.js* index.d.ts index.js* typedoc-out.json", "doc": "npx typedoc --out docs src/ src/typings.d.ts", "doc:json": "npx typedoc --json typedoc-out.json src", "lint": "eslint src tests -c .eslintrc --ext .ts", "lint:fix": "eslint src tests -c .eslintrc --ext .ts --fix", "test": "jest --config ./jest.config.js", "test:coverage": "jest --config ./jest.config.js --coverage", "test:watch": "jest --config ./jest.config.js --watch", "build:node": "npx webpack --mode=production", "build:browser": "cross-env TARGET=browser npx webpack --mode=production", "build:cdn": "cross-env TARGET=cdn npx webpack --mode=production", "build": "npm run build:node && npm run build:browser && npm run build:cdn", "watch:browser": "cross-env TARGET=browser npx webpack --watch --mode=development", "watch:cdn": "cross-env TARGET=cdn npx webpack --watch --mode=production", "watch:node": "npx webpack --watch --mode=production", "prepare": "npm run build", "package": "npm t && npm run build && npm pack", "rebuild": "rm -rf node_modules && rm package-lock.json && npm i && npm run build", "bump-major": "npm version major --no-git-tag-version", "bump-minor": "npm version minor --no-git-tag-version", "bump-patch": "npm version patch --no-git-tag-version" }, "dependencies": { "harmonics": "^1.0.8", "jsmidgen": "~0.1.5" }, "devDependencies": { "@types/jest": "^27.0.1", "@types/node": "^12.19.15", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", "cross-env": "^7.0.3", "dts-bundle": "^0.7.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-loader": "^4.0.2", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.2.0", "prettier": "^2.4.0", "ts-jest": "^27.0.5", "ts-loader": "^9.2.5", "ts-node": "^10.2.0", "typedoc": "^0.21.5", "typescript": "^4.4.3", "webpack": "^5.53.0", "webpack-cli": "^4.8.0" }, "repository": { "type": "git", "url": "git://github.com/scribbletune/scribbletune.git" }, "keywords": [ "javascript", "music", "music theory", "midi", "web audio api", "jsmidgen", "tone.js", "tonal", "harmonics" ], "author": "Walmik Deshpande", "license": "MIT", "runkitExampleFilename": "runkit.js", "bugs": { "url": "https://github.com/scribbletune/scribbletune/issues" }, "engines": { "node": ">16.x.x" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "eslintConfig": { "extends": ".eslintrc" } }