-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
53 lines (53 loc) · 2.13 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
{
"name": "midi-to-scaler-chord-sets",
"description": "Convert chord progressions from midi files to Plugin Boutique's Scaler chord sets.",
"version": "1.1.0",
"main": "index.ts",
"bin": "build/index.js",
"repository": "https://github.com/joanroig/midi-to-scaler-chord-sets.git",
"author": "Joan Roig <[email protected]>",
"license": "MIT",
"scripts": {
"build": "npm run build-js && npm run build-win && npm run build-mac",
"build-js": "rimraf ./build && tsc -p tsconfig.build.json && copyfiles config.json build",
"build-win": "rimraf ./dist/win && copyfiles config.json dist/win && copyfiles -u 1 ./examples/midis/Pack1/chords.mid ./dist/win/ && copyfiles examples/midis dist/win && npx pkg --target node14-win-x64 --o dist/win/midi-to-scaler-chord-sets.exe --C GZip . && zip-build -o -t %NAME%_%VERSION%_windows.%EXT% dist/win/ dist/",
"build-mac": "rimraf ./dist/mac && copyfiles config.json dist/mac && copyfiles -u 1 ./examples/midis/Pack1/chords.mid ./dist/mac/ && copyfiles examples/midis dist/mac && npx pkg --target node14-macos-x64 --o dist/mac/midi-to-scaler-chord-sets --C GZip . && zip-build -o -t %NAME%_%VERSION%_macos.%EXT% dist/mac/ dist/",
"convert": "npx tsx ./src/index.ts",
"run:dev": "nodemon",
"lint": "eslint . --ext .ts",
"format": "eslint . --ext .ts --fix",
"format:staged": "lint-staged",
"prepare": "husky install"
},
"dependencies": {
"eslint": "^8.39.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"midi-file": "^1.2.4",
"nodemon": "^2.0.22",
"typescript": "^5.0.4"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.6.1",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"commitlint": "^17.6.1",
"copyfiles": "^2.4.1",
"pkg": "^5.8.1",
"rimraf": "^5.0.0",
"tsx": "^3.12.7",
"zip-build": "^1.8.0"
},
"lint-staged": {
"src/**/*.{js,ts}": "eslint --cache --fix"
},
"pkg": {
"scripts": "build/**/*.js",
"targets": [
"node14-win-x64",
"node14-macos-x64"
]
},
"typings": "src/global.d.ts"
}