-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.75 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 2.75 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
{
"name": "hackers-tiny-slide-deck",
"version": "0.4.5-dev",
"license": "MIT",
"description": "Turn a Markdown document into a slide deck quickly.",
"author": "Tuomas Kareinen <tkareine@gmail.com>",
"keywords": ["markdown", "slide-deck", "slideshow-maker"],
"homepage": "https://github.com/tkareine/hackers-tiny-slide-deck",
"bugs": "https://github.com/tkareine/hackers-tiny-slide-deck/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/tkareine/hackers-tiny-slide-deck.git"
},
"files": ["CHANGELOG.md", "LICENSE.txt", "README.md", "build/htsd.min.js", "build/htsd.min.js.map", "package.json"],
"browser": "build/htsd.min.js",
"engines": {
"node": ">= 20"
},
"scripts": {
"clean": "rm -fr build hackers-tiny-slide-deck-*.tgz test/downloads test/screenshots test/videos",
"clobber": "npm run clean && rm -fr node_modules",
"example:build": "mkdir -p build && marked --gfm --input example.md > build/example.html",
"example:mkBranch": "npm run clean && NODE_ENV=production npm run lib:build && npm run example:build && git add -f build && git update-ref refs/heads/gh-pages \"$(git commit-tree -m 'Generated example' \"$(git write-tree --prefix=build/)\")\" && git reset",
"example:pushBranch": "git push -f origin gh-pages",
"example:publish": "npm run example:mkBranch && npm run example:pushBranch",
"lib:build": "mkdir -p build && webpack",
"lib:diffBuild": "bash -c 'git diff --no-index -- <(git show origin/gh-pages:htsd.min.js | prettier --parser babel) <(cat build/htsd.min.js | prettier --parser babel)'",
"lib:serve": "mkdir -p build && webpack serve",
"lint": "prettier --check '*.{mjs,js}' '{src,test}/**/*.{mjs,js}'",
"prepack": "NODE_ENV=production npm run lib:build",
"test": "npm run lint && npm run test:unit && npm run test:integration:ci && NODE_ENV=production npm run lib:build",
"test:integration:build": "mkdir -p build/test && for f in test/fixture/*.md; do marked -i \"$f\" > \"build/test/$(basename -s .md \"$f\").html\"; done",
"test:integration:ci": "npm run test:integration:build && NODE_ENV=production start-server-and-test lib:serve 'http-get://127.0.0.1:8080' test:integration:run",
"test:integration:open": "cypress open",
"test:integration:run": "cypress run",
"test:unit": "ava 'src/**/*.test.mjs'"
},
"devDependencies": {
"@babel/core": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"ava": "^6.0.1",
"babel-loader": "^10.0.0",
"css-loader": "^7.1.2",
"cypress": "^15.7.0",
"marked": "^17.0.1",
"prettier": "^3.1.1",
"start-server-and-test": "^2.0.0",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.0.0",
"webpack": "^5.1.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.0.4"
}
}