docgen-tool 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/LICENSE +0 -4
  2. package/package.json +9 -6
package/LICENSE CHANGED
@@ -12,10 +12,6 @@ MIT licensed:
12
12
 
13
13
  KaTeX: Copyright (c) 2014 Khan Academy, (https://github.com/Khan/KaTeX)
14
14
 
15
- Webknife: Copyright (c) 2015 The Webknife Project, (http://mtmacdonald.github.io/webknife)
16
-
17
- Webknife includes third-party libraries attributed here: https://github.com/mtmacdonald/webknife/blob/master/LICENSE
18
-
19
15
  Permission is hereby granted, free of charge, to any person obtaining a copy
20
16
  of this software and associated documentation files (the "Software"), to deal
21
17
  in the Software without restriction, including without limitation the rights
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docgen-tool",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "A tool for creating HTML and PDF documentation",
5
5
  "main": "dist/docgen.js",
6
6
  "bin": {
@@ -10,15 +10,17 @@
10
10
  "dist/*"
11
11
  ],
12
12
  "scripts": {
13
- "clean": "rimraf dist/",
14
13
  "copy-files": "ncp source/require dist/source/require && ncp source/example dist/source/example && ncp source/optional dist/source/optional && ncp source/templates dist/source/templates && cp source/pdf-contents.xsl dist/source && cp source/pdf-stylesheet.css dist/source",
14
+ "copy-files-docs": "ncp source/require docs/require",
15
15
  "dev": "ts-node docgen.js run",
16
- "build": "yarn clean && tsc -p tsconfig.json && yarn copy-files",
16
+ "build": "rimraf dist && tsc -p tsconfig.json && yarn copy-files",
17
17
  "run:build": "dist/docgen.js",
18
- "build:docs": "ts-node docgen.js run -i ./source/user-guide -o ./docs -p -m -n -d 40000",
18
+ "build:docs": "ts-node docgen.js run -i ./source/user-guide -o ./docs -p -m -n -d 40000 && yarn copy-files-docs",
19
+ "build:docs:nopdf": "ts-node docgen.js run -i ./source/user-guide -o ./docs && yarn copy-files-docs",
20
+ "build:styles": "sass --no-source-map source/styles/main.scss source/require/styles/framework.css",
19
21
  "test": "npm run prettier:check",
20
- "test:run": "ts-node docgen.js run -i ./source/__test__/test-run -o ./source/__test__/test-run-output",
21
- "test:prod:run": "./dist/docgen.js run -i ./source/__test__/test-run -o -p -v -d 20000 ../source/__test__/test-run-output",
22
+ "test:run": "rimraf source/__test__/test-run-output && ts-node docgen.js run -i ./source/__test__/test-run -o ./source/__test__/test-run-output",
23
+ "test:prod:run": "rimraf source/__test__/test-run-output && ./dist/docgen.js run -i ./source/__test__/test-run -o -p -v -d 20000 ../source/__test__/test-run-output",
22
24
  "prettier:check": "prettier --check 'docgen.js' '*.{js,json,css,less}'",
23
25
  "prettier:fix": "prettier --write 'docgen.js' '*.{js,json,css,less}'"
24
26
  },
@@ -53,6 +55,7 @@
53
55
  "ncp": "^2.0.0",
54
56
  "prettier": "^2.1.2",
55
57
  "rimraf": "^5.0.1",
58
+ "sass": "^1.66.1",
56
59
  "ts-node": "^10.9.1",
57
60
  "tslib": "^2.5.3",
58
61
  "typescript": "^5.1.3"