UNPKG

@magenta/music

Version:

Make music with machine learning, in the browser.

80 lines (79 loc) 2.98 kB
{ "name": "@magenta/music", "version": "1.23.1", "description": "Make music with machine learning, in the browser.", "main": "es5/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "jsdelivr": "dist/magentamusic.js", "unpkg": "dist/magentamusic.js", "dependencies": { "@tensorflow/tfjs": "^2.7.0", "@tensorflow/tfjs-backend-webgl": "^2.7.0", "@tonejs/midi": "^2.0.15", "fft.js": "^4.0.3", "ndarray-resample": "^1.0.1", "protobufjs": "^6.8.6", "staffrender": "^0.2.1", "tonal": "^2.0.0", "tone": "^14.7.58" }, "devDependencies": { "@types/clone": "^0.1.30", "@types/d3": "^5.7.0", "@types/file-saver": "^1.3.0", "@types/ndarray": "^1.0.6", "@types/node": "^14.0.19", "@types/node-fetch": "^2.5.7", "@types/tape": "^4.2.32", "@types/webmidi": "^2.0.2", "audio-recorder-polyfill": "^0.1.2", "browserify": "^14.4.0", "clang-format": "^1.2.3", "clone": "^1.0.4", "d3": "^5.8.0", "file-saver": "^1.3.8", "file-saver-typescript": "^1.0.1", "http-server": "^0.11.1", "in-publish": "^2.0.0", "minimist": "^1.2.0", "node-fetch": "^2.6.0", "tape": "^4.9.0", "terser-webpack-plugin": "^1.4.1", "ts-loader": "^5.3.0", "ts-node": "^5.0.1", "tsify": "^3.0.4", "tslint": "^5.9.1", "typedoc": "^0.16.10", "typescript": "^3.3.3333", "webpack": "^4.24.0", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.14", "webpack-node-externals": "^1.7.2" }, "scripts": { "test-and-build": "yarn lint && yarn test && yarn build && yarn test-node-build", "prepublish": "in-publish && yarn test-and-build || not-in-publish", "build:es5": "webpack --config ./webpack/es5.lib.config.ts", "build:es6": "webpack --config webpack/es6.config.ts && cp src/protobuf/proto.* es6/protobuf", "build:esm": "tsc --build tsconfig.esm.json && cp src/protobuf/proto.* esm/protobuf", "build:node": "webpack --config webpack/node.config.ts && cp src/protobuf/proto.* node/protobuf", "build:clean": "rm -rf ./es5 && rm -rf ./es6 && rm -rf ./esm && rm -rf ./node && rm -rf ./dist", "build": "npm run build:clean && npm run build:es5 && npm run build:node && npm run build:es6 && npm run build:esm", "lint": "tslint -c ../tslint.json -p ./tsconfig.es5.json -t verbose", "test": "ts-node node_modules/tape/bin/tape src/**/*_test.ts", "test-node-build": "ts-node node_modules/tape/bin/tape build_tests/node.ts", "build-demos": "webpack --config ./webpack/es5.demo.config.ts", "run-demos": "webpack-dev-server --config ./webpack/es5.demo.config.ts", "serve-demos": "http-server demos/", "serve-dist": "http-server dist/", "proto": "sh ./scripts/compile-proto.sh", "docs": "sh ../scripts/generate-docs.sh 'music'" }, "author": "Magenta", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/tensorflow/magenta-js.git" } }