-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 3.5 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
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
110
111
112
{
"name": "@spacedevin/deck",
"version": "0.1.0",
"type": "module",
"description": ".deck music language — tokenize, parse, format, registries and highlight classification. One Tish source, three targets (Tish, JS, Rust)",
"license": "MIT",
"author": "spacedevin",
"repository": {
"type": "git",
"url": "https://github.com/spacedevin/deck.git"
},
"publishConfig": {
"access": "public"
},
"tish": {
"module": "./src/index.tish",
"test": {
"root": [
"test"
]
}
},
"main": "./dist/deck.js",
"module": "./dist/deck.js",
"workspaces": [
"packages/*"
],
"exports": {
".": {
"tish": "./src/index.tish",
"import": "./dist/deck.js",
"require": "./dist/deck.js",
"default": "./dist/deck.js"
},
"./grammar": "./docs/DECK_GRAMMAR.md",
"./ast": "./docs/AST.md",
"./examples": "./docs/EXAMPLES.md",
"./extension": "./docs/DECK_EXTENSION.md",
"./host": "./docs/HOST.md",
"./rendering": "./docs/RENDERING.md",
"./package.json": "./package.json"
},
"files": [
"src/",
"dist/",
"docs/",
"examples/",
"fixtures/",
"conformance/",
"README.md",
"AGENTS.md",
"CONTRIBUTING.md",
"LICENSE"
],
"scripts": {
"build": "tish build src/index.tish -o dist/deck.js --target js && node scripts/append-exports.mjs",
"tishversion": "tish -V",
"test": "npm run build && node test/coverage.mjs && node test/conformance.mjs && npm run test:examples && npm run test:tish && npm run test:js-smoke",
"test:conformance": "npm run build && node test/conformance.mjs",
"conformance:update": "npm run build && node test/conformance.mjs --update",
"test:coverage": "npm run build && c8 --check-coverage --lines 100 --functions 100 --statements 100 --include 'dist/deck.js' node test/coverage.mjs",
"examples": "tish build --target js examples/01-parse.tish -o /tmp/deck-ex01.js && node /tmp/deck-ex01.js && tish build --target js examples/02-host-boot.tish -o /tmp/deck-ex02.js && node /tmp/deck-ex02.js && tish build --target js examples/03-helpers.tish -o /tmp/deck-ex03.js && node /tmp/deck-ex03.js",
"prepack": "npm run build",
"prepublishOnly": "npm run build",
"build:rust": "node scripts/build-rust.mjs",
"test:rust": "npm run build:rust && cd crate && cargo test",
"test:conformance:tish": "tish test test/conformance.test.tish",
"site": "npm run build && npm run build -w @spacedevin/deck-player && node site/build.mjs",
"site:serve": "npm run site --silent && SITE_BASE=/ node site/build.mjs && npx --yes serve site/out",
"test:tish": "tish test",
"test:js-smoke": "tish build --target js test/smoke.tish -o /tmp/spacedevin-deck-smoke.js && node /tmp/spacedevin-deck-smoke.js",
"test:examples": "npm run build -w @spacedevin/deck-player && node test/examples.mjs docs/EXAMPLES.md"
},
"c8": {
"reporter": [
"text",
"text-summary"
],
"include": [
"dist/deck.js"
]
},
"engines": {
"node": ">=22"
},
"keywords": [
"deck",
"tish",
"parser",
"patch-language",
"live-coding",
"music",
"chiptune",
"web-audio",
"gameboy",
"gba",
"tracker"
],
"peerDependencies": {
"@tishlang/tish": ">=3.2.2"
},
"devDependencies": {
"@tishlang/tish": "^3.7.1",
"c8": "^10.1.3",
"highlight.js": "^11.11.1",
"marked": "^15.0.12"
},
"homepage": "https://spacedevin.github.io/deck/",
"bugs": {
"url": "https://github.com/spacedevin/deck/issues"
}
}