-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 2.21 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
{
"name": "musica",
"version": "0.1.0",
"description": "Music Library / Player",
"author": "MrTrick",
"license": "ISC",
"main": "server.js",
"scripts": {
"prepare": "cd ./client && npm install",
"test-lint": "eslint **/*.js --ignore-pattern node_modules/ --ignore-pattern client/ --ignore-pattern demo/",
"test-jest": "jest --testPathIgnorePatterns client",
"test-server": "run-s test-lint test-jest",
"test-client": "cd ./client && npm test",
"test": "run-s test-server test-client",
"start-server": "nodemon server.js",
"start-client": "cd ./client && npm run start",
"start": "run-p start-server start-client",
"demo-clean": "shx rm -rf ./demo/musica/ && shx mkdir -p ./demo/musica",
"demo-client-build": "cd ./client && npm run build && shx mv build/* ../demo/musica",
"demo-media-init": "cross-env MUSICA_STORAGE_TYPE=fs MUSICA_STORAGE_PATH=demo/musica/media MUSICA_STORAGE_MEDIALOCATION=/musica/media node musica init",
"demo-media-insert": "cross-env MUSICA_STORAGE_TYPE=fs MUSICA_STORAGE_PATH=demo/musica/media MUSICA_STORAGE_MEDIALOCATION=/musica/media node musica insert music/*",
"demo-media-export": "cross-env MUSICA_STORAGE_TYPE=fs MUSICA_STORAGE_PATH=demo/musica/media MUSICA_STORAGE_MEDIALOCATION=/musica/media node musica export > demo/musica/musica",
"demo-build": "run-s demo-clean demo-client-build demo-media-init demo-media-insert demo-media-export",
"demo-start": "serve ./demo/",
"demo-publish": "cross-env NODE_DEBUG=gh-pages gh-pages -d ./demo/musica/"
},
"dependencies": {
"commander": "^2.19.0",
"dotenv": "^6.2.0",
"eslint": "^5.6.0",
"express": "^4.21.2",
"ffmpeg-static": "^2.4.0",
"get-stream": "^4.1.0",
"md5-file": "^4.0.0",
"minio": "^7.1.1",
"morgan": "^1.9.1",
"music-metadata": "^3.2.4",
"p-limit": "^2.0.0",
"tmp": "0.0.33",
"uuid": "^3.3.2"
},
"devDependencies": {
"cross-env": "^5.2.0",
"eslint-plugin-jest": "^22.1.2",
"gh-pages": "^5.0.0",
"glob": "^7.1.3",
"jest": "^29.1.2",
"mkdirp": "^0.5.1",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"serve": "^14.2.4",
"shx": "^0.3.2"
},
"bin": {
"musica": "./tools/musica.js"
}
}