|
25 | 25 | "genc": "bit-docs -dc",
|
26 | 26 | "genf": "bit-docs -df",
|
27 | 27 | "gh-pages": "gh-pages -d gh-pages",
|
28 |
| - "postinstall": "git submodule update --init", |
| 28 | + "preinstall": "[ -f docs/modules/bit-docs/package.json ] || git submodule update --init", |
29 | 29 | "pub": "npm run gh-pages",
|
30 | 30 | "see": "http-server gh-pages",
|
31 | 31 | "test": "echo \"Error: no test specified\" && exit 1"
|
32 | 32 | },
|
33 | 33 | "devDependencies": {
|
34 |
| - "bit-docs": "bit-docs/bit-docs", |
| 34 | + "bit-docs": "bit-docs/bit-docs#file-pathed-deps", |
35 | 35 | "gh-pages": "^0.12.0"
|
36 | 36 | },
|
37 | 37 | "bit-docs": {
|
38 | 38 | "dependencies": {
|
39 |
| - "bit-docs-dev": "bit-docs/bit-docs-dev", |
40 |
| - "bit-docs-generate-html": "bit-docs/bit-docs-generate-html", |
41 |
| - "bit-docs-glob-finder": "bit-docs/bit-docs-glob-finder", |
42 |
| - "bit-docs-html-toc": "bit-docs/bit-docs-html-toc", |
| 39 | + "bit-docs-dev": "file:docs/modules/bit-docs-dev", |
| 40 | + "bit-docs-generate-html": "bit-docs/bit-docs-generate-html#file-pathed-deps", |
| 41 | + "bit-docs-glob-finder": "file:docs/modules/bit-docs-glob-finder", |
| 42 | + "bit-docs-html-toc": "file:docs/modules/bit-docs-html-toc", |
43 | 43 | "bit-docs-js": "bit-docs/bit-docs-js#remove-depend",
|
44 |
| - "bit-docs-prettify": "bit-docs/bit-docs-prettify", |
45 |
| - "bit-docs-html-highlight-line": "bit-docs/bit-docs-html-highlight-line", |
46 |
| - "bit-docs-process-mustache": "bit-docs/bit-docs-process-mustache", |
47 |
| - "bit-docs-tag-demo": "bit-docs/bit-docs-tag-demo", |
48 |
| - "bit-docs-tag-sourceref": "bit-docs/bit-docs-tag-sourceref" |
| 44 | + "bit-docs-prettify": "file:docs/modules/bit-docs-prettify", |
| 45 | + "bit-docs-html-highlight-line": "file:docs/modules/bit-docs-html-highlight-line", |
| 46 | + "bit-docs-process-mustache": "file:docs/modules/bit-docs-process-mustache", |
| 47 | + "bit-docs-tag-demo": "file:docs/modules/bit-docs-tag-demo", |
| 48 | + "bit-docs-tag-sourceref": "file:docs/modules/bit-docs-tag-sourceref" |
49 | 49 | },
|
50 | 50 | "glob": {
|
51 | 51 | "pattern": "docs/**/*.{js,md,mustache}",
|
|
57 | 57 | "**/*_test.js",
|
58 | 58 | "**/test_*.js",
|
59 | 59 | "**/test-*.md",
|
60 |
| - "**/test.js" |
| 60 | + "**/test.js", |
| 61 | + "**/node_modules/**/*" |
61 | 62 | ]
|
62 | 63 | },
|
63 | 64 | "parent": "BitDocs",
|
|
0 commit comments