-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.27 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.27 KB
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
{
"name": "@k-l-lambda/lilylet",
"version": "0.1.61",
"description": "Lilylet is a lilyopnd-like sheet music language designed for Markdown rendering and symbolic music representation in AIGC applications.",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./browser": {
"types": "./lib/browser.d.ts",
"default": "./lib/browser.js"
},
"./lib/lilypondDecoder.js": {
"types": "./lib/lilypondDecoder.d.ts",
"default": "./lib/lilypondDecoder.js"
}
},
"files": [
"lib",
"source"
],
"scripts": {
"build": "tsc -p tsconfig.build.json && node tools/convertGrammarToESM.cjs && node tools/fixEsmExtensions.cjs",
"build:grammar": "npx tsx ./tools/buildJisonParser.ts && node tools/convertGrammarToESM.cjs",
"prepublishOnly": "npm run build:grammar && npm run build",
"test": "tsx ./tests/parser.ts",
"test:mei": "tsx ./tests/mei.ts",
"test:unit": "tsx ./tests/unit/encodePitch.test.ts",
"test:partial": "tsx ./tests/unit/partialWarning.test.ts",
"test:decoder": "tsx ./tests/lilypondDecoder.ts",
"test:abc": "tsx ./tests/abc-decoder.ts",
"test:roundtrip": "tsx ./tests/lilypond-roundtrip.ts",
"build:tests": "tsc -p tsconfig.tests.json; cp source/lilylet/grammar.jison.js lib-tests/source/lilylet/ && cp source/abc/grammar.jison.js lib-tests/source/abc/ && node tools/fixEsmExtensions.cjs lib-tests && ln -sfn ../../tests/assets lib-tests/tests/assets",
"test:roundtrip:compiled": "node lib-tests/tests/lilypond-roundtrip.js",
"ts": "tsx"
},
"repository": {
"type": "git",
"url": "git+https://github.com/k-l-lambda/lilylet.git"
},
"author": "k.l.lambda",
"license": "ISC",
"homepage": "https://github.com/k-l-lambda/lilylet#readme",
"optionalDependencies": {
"@k-l-lambda/lotus": "^1.0.5"
},
"devDependencies": {
"@types/node": "^20.11.20",
"@types/yargs": "^17.0.32",
"formidable": "^3.5.4",
"jison": "^0.4.18",
"sha1": "^1.1.1",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^5.3.3",
"verovio": "^5.7.0",
"xmldom": "^0.6.0",
"yargs": "^17.7.2"
},
"dependencies": {
"@xmldom/xmldom": "^0.8.11"
}
}