forked from epsil/spotgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 4.95 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "spotgen",
"version": "1.0.28",
"author": "Vegard Øye <vegard_oye@hotmail.com>",
"description": "A tool for generating Spotify playlists programmatically. Convert websites to Spotify playlists, incorporate Last.fm listener data, and employ smart algorithms to reorder the tracks.",
"license": "MIT",
"keywords": [
"spotify",
"playlist",
"generator"
],
"main": "index.js",
"bin": {
"spotgen": "index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epsil/spotgen.git"
},
"bugs": {
"url": "https://github.com/epsil/spotgen/issues"
},
"homepage": "https://github.com/epsil/spotgen",
"engines": {
"node": ">=4.0.0"
},
"dependencies": {
"base-64": "^1.0.0",
"bootstrap": "^5.0.1",
"cli-input": "^0.2.0",
"clipboardy": "^2.3.0",
"csv-stringify": "^5.6.2",
"eol": "^0.9.1",
"express": "^4.17.1",
"git-rev": "^0.2.1",
"got": "^11.8.2",
"jquery": "^3.6.0",
"jsdom": "^16.6.0",
"lodash": "^4.17.21",
"open": "^8.2.0",
"preq": "^0.5.14",
"promise": "^8.1.0",
"string-similarity": "^4.0.4",
"urijs": "^1.19.6",
"xregexp": "^5.0.2"
},
"devDependencies": {
"browserify": "^17.0.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"http-server": "^0.12.3",
"jsdoc": "^3.6.7",
"jshint": "^2.13.0",
"markdownlint-cli": "^0.27.1",
"mocha": "^9.0.0",
"standard": "^16.0.3",
"uglify-js": "^3.13.9"
},
"scripts": {
"clean": "git stash && git clean -d -f -f -x",
"clean!": "npm run reset && npm run clean",
"clean!!": "npm run reset! && npm run clean",
"ds_store": "find . -iname \"*.DS_Store\" -exec git rm {} \\;; find . -iname \"*er i konflikt*\" -exec git rm {} \\;; find . -iname \"*.DS_Store\" -exec rm {} \\;; find . -iname \"*.docx\" -exec rm {} \\;; find . -iname \"*.log\" -exec rm {} \\;",
"cli": "node index.js",
"gui": "git gui &",
"dump": "node index.js > output.txt && cat output.txt",
"build": "npm run browser && npm run jsdoc",
"rebuild": "npm run build && npm run http",
"retest": "npm run clean! && npm install && npm test",
"dist": "npm run build && npm run minify && cp -r doc dist && cp -r test dist",
"lint": "npm run jshint && npm run standard && npm run markdownlint",
"jshint": "jshint index.js lib/album.js lib/artist.js lib/auth.js lib/collection.js lib/generator.js lib/http.js lib/lastfm.js lib/playlist.js lib/parser.js lib/queue.js lib/scraper.js lib/similar.js lib/sort.js lib/spotify.js lib/top.js lib/track.js lib/util.js dist/web.js test/test.js",
"standard": "standard index.js lib/album.js lib/artist.js lib/auth.js lib/collection.js lib/generator.js lib/http.js lib/lastfm.js lib/playlist.js lib/parser.js lib/queue.js lib/scraper.js lib/similar.js lib/sort.js lib/spotify.js lib/top.js lib/track.js lib/util.js dist/web.js test/test.js",
"markdownlint": "markdownlint README.md Tips.md",
"nyan": "mocha --reporter nyan test/test.js",
"tests": "mocha test/test.js",
"test": "npm run lint && npm run tests",
"server": "http-server -p 9000 dist",
"start": "open http://localhost:9000/",
"http": "npm run start && npm run server",
"browser": "browserify dist/web.js -i express -i preq -i xregexp -o dist/bundle.js && browserify test/test.js -i express -i preq -i xregexp -o test/bundle.js",
"minify": "uglifyjs dist/bundle.js -o dist/bundle.js",
"open": "open dist/index.html",
"web": "npm run browser && npm run open",
"builddoc": "npm run jsdoc && npm run doc",
"jsdoc": "rm -rf doc && jsdoc -c .jsdocrc -d doc README.md index.js lib/album.js lib/artist.js lib/auth.js lib/collection.js lib/generator.js lib/http.js lib/lastfm.js lib/playlist.js lib/parser.js lib/queue.js lib/scraper.js lib/similar.js lib/sort.js lib/spotify.js lib/top.js lib/track.js lib/util.js",
"doc": "open doc/index.html",
"commit": "git --no-pager status && git --no-pager diff && git commit -a -m \"Updated `git status | sed -n '/modified:/ {s/^[[:space:]]*modified:[[:space:]]*//;s/\\.txt$//;s/\\.md$//;s/\\.html$//;s/\\/index$//;p;q;}'`\"",
"amend": "git --no-pager status && git --no-pager diff && git commit -a --amend --no-edit",
"reword": "git --no-pager status && git --no-pager diff && git commit -a --amend",
"reset": "git reset --hard",
"clear": "git stash clear",
"reset!": "npm run reset && npm run clear",
"push": "git --no-pager status && git pull --rebase && git push",
"push!": "git --no-pager status && git push --force",
"pull": "git --no-pager status && git pull --rebase",
"tags": "git push --tags",
"bump": "npm run push && npm run tags && npm publish",
"patch": "npm version patch && npm run bump",
"minor": "npm version minor && npm run bump",
"major": "npm version major && npm run bump",
"release": "npm run patch",
"compress": "git gc --prune=now",
"diff": "git diff",
"log": "git log -p",
"gitk": "gitk &",
"status": "git status"
}
}