-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
37 lines (37 loc) · 2.3 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
{
"name": "anki-programming-flashcards",
"version": "3.0.3",
"description": "Learning to code with Anki",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run css && npm run demo",
"css": "npx lessc source/style/main.less ./build/style/main.css",
"custom": "pandoc --template=source/themes/custom/template.html -s source/themes/custom/custom-theme.md -o build/custom/custom-theme.html",
"data": "npm run data-code && npm run data-code-reverse && npm run data-draw && npm run data-missing && npm run data-simple",
"data-code": "pandoc source/data/data-code.md -o ./build/data/data-code.html",
"data-code-reverse": "pandoc source/data/data-code.html -o ./build/data/data-code.md",
"data-draw": "pandoc --from markdown-auto_identifiers source/data/data-draw.md -o ./build/data/data-draw.html",
"data-simple": "pandoc --from markdown-auto_identifiers source/data/data-simple.md -o ./build/data/data-simple.html",
"data-missing": "pandoc --from markdown-auto_identifiers source/data/data-missing.md -o ./build/data/data-missing.html",
"demo": "npm run demo-draw && npm run demo-simple && npm run demo-missing",
"demo-draw": "npx mustache -p source/themes/demo/draw/draw-front.mustache -p source/themes/demo/draw/draw-reverse.mustache source/themes/demo/draw/draw.json source/themes/demo/draw/draw.mustache > build/demo/draw.html",
"demo-simple": "npx mustache -p source/themes/demo/simple/simple-front.mustache -p source/themes/demo/simple/simple-reverse.mustache source/themes/demo/simple/simple.json source/themes/demo/simple/simple.mustache > build/demo/simple.html",
"demo-missing": "npx mustache -p source/themes/demo/missing/missing-front.mustache -p source/themes/demo/missing/missing-reverse.mustache source/themes/demo/missing/missing.json source/themes/demo/missing/missing.mustache > build/demo/missing.html"
},
"repository": {
"type": "git",
"url": "github:badlydrawnrob/anki"
},
"author": "Rob McDonald",
"license": "MIT",
"bugs": {
"url": "https://github.com/badlydrawnrob/anki/issues"
},
"homepage": "https://github.com/badlydrawnrob/anki#readme",
"devDependencies": {
"less": "^4.2.0",
"mustache": "^4.2.0",
"print-first-css": "github:badlydrawnrob/print-first-css#d2f15c2"
}
}