-
Notifications
You must be signed in to change notification settings - Fork 317
/
package.json
79 lines (79 loc) · 2.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"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"
}
}