-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.68 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.68 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
{
"name": "hackers-tiny-slide-deck",
"version": "0.3.0",
"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": "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"
],
"browser": "build/htsd.min.js",
"engines": {
"node": ">= 14"
},
"scripts": {
"clean": "rm -fr build hackers-tiny-slide-deck-*.tgz",
"clobber": "npm run clean && rm -fr node_modules",
"example:build": "mkdir -p build && marked --gfm -i 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 'diff -u -- <(git show origin/gh-pages:htsd.min.js | prettier --parser babel) <(prettier --parser babel build/htsd.min.js)'",
"lib:serve": "mkdir -p build && webpack serve",
"lint": "prettier --check '*.{mjs,js}' '{src,test}/**/*.{mjs,js}'",
"prepublishOnly": "npm test && NODE_ENV=production npm run lib:build",
"test": "npm run lint && npm run test:unit && npm run test:integration:ci",
"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://localhost: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": "^3.15.0",
"babel-loader": "^8.0.6",
"css-loader": "^5.0.0",
"cypress": "^6.1.0",
"marked": "^2.0.0",
"prettier": "^2.1.2",
"start-server-and-test": "^1.11.5",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.0.0",
"webpack": "^5.1.2",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.9.0"
}
}