-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.35 KB
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 1.35 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
{
"name": "markfeyn",
"version": "0.1.0",
"description": "MarkFeyn renders fenced `feynman` code blocks as native SVG diagrams in MkDocs and ProperDocs.",
"private": true,
"scripts": {
"build:js": "esbuild src/markfeyn/renderer/feynman-diagrams.js --bundle --format=iife --platform=browser --target=es2020 --charset=utf8 --banner:js=\"/*! MarkFeyn renderer bundle. Includes elkjs; see THIRD_PARTY_NOTICES.md. */\" --footer:js=\"if (typeof module !== 'undefined' && module.exports && typeof globalThis !== 'undefined') module.exports = globalThis.FeynmanDiagrams;\" --outfile=src/markfeyn/assets/feynman-diagrams.js",
"check:js": "npm run build:js && node --check src/markfeyn/assets/feynman-diagrams.js",
"test:visual": "node tests/feynman-visual-snapshots.test.js",
"update:visual": "MARKFEYN_UPDATE_VISUAL=1 node tests/feynman-visual-snapshots.test.js",
"test:js": "npm run check:js && node tests/feynman-diagrams.test.js && npm run test:visual"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lalmei/markfeyn.git"
},
"license": "MIT",
"type": "commonjs",
"bugs": {
"url": "https://github.com/lalmei/markfeyn/issues"
},
"homepage": "https://github.com/lalmei/markfeyn#readme",
"dependencies": {
"elkjs": "^0.11.1"
},
"devDependencies": {
"esbuild": "^0.28.1",
"linkedom": "^0.18.12"
}
}