-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
52 lines (52 loc) · 2.01 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
{
"name": "ableton-js",
"version": "3.5.0",
"description": "Control Ableton Live from Node",
"main": "index.js",
"author": "Leo Bernard <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/leolabs/ableton-js.git"
},
"files": [
"**/*.js",
"**/*.d.ts",
"midi-script/*.py"
],
"scripts": {
"ableton:clean": "rm -f midi-script/AbletonJS/*.pyc",
"ableton:copy-script": "set -- ~/Music/Ableton/User\\ Library/Remote\\ Scripts && mkdir -p \"$1\" && rm -rf \"$1/AbletonJS\" && cp -r \"$(pwd)/midi-script\" \"$1/AbletonJS\" && rm -rf \"$1/AbletonJS/_Framework\"",
"ableton10:launch": "set -- /Applications/Ableton*10* && open \"$1\"",
"ableton11:launch": "set -- /Applications/Ableton*11* && open \"$1\"",
"ableton:logs": "tail -n 50 -f ~/Library/Preferences/Ableton/*/Log.txt | grep --line-buffered -i -e AbletonJS",
"ableton:kill": "pkill -KILL -f \"Ableton Live\"",
"ableton10:start": "yarn ableton:kill; yarn ableton:clean && yarn ableton:copy-script && yarn ableton10:launch && yarn ableton:logs",
"ableton11:start": "yarn ableton:kill; yarn ableton:clean && yarn ableton:copy-script && yarn ableton11:launch && yarn ableton:logs",
"prepublishOnly": "yarn build",
"build:doc": "jsdoc2md --files src/**/*.ts --configure ./jsdoc2md.json > ./API.md",
"version": "node hooks/prepublish.js && git add midi-script/version.py && auto-changelog -p -l 100 && git add CHANGELOG.md",
"build": "tsc",
"test": "vitest --run --no-threads",
"format": "prettier -w src/"
},
"devDependencies": {
"@types/lodash": "^4.14.194",
"@types/node": "^20.3.0",
"@types/node-uuid": "^0.0.28",
"@types/semver": "^7.3.6",
"@types/uuid": "^8.3.0",
"auto-changelog": "^2.3.0",
"p-all": "^3",
"prettier": "^3.3.3",
"tsx": "^3.12.7",
"typescript": "^5.1.3",
"vitest": "^0.32.4"
},
"dependencies": {
"lodash": "^4.17.21",
"lru-cache": "^7.14.0",
"semver": "^7.3.5",
"uuid": "^8.3.2"
}
}