From 5ce827d8922b212e2a5b68a9ca9d22e91c7b45b3 Mon Sep 17 00:00:00 2001 From: Thomas Grey Date: Mon, 20 Aug 2018 23:42:13 +0100 Subject: [PATCH] TypeDoc 0.12.0 --- .travis.yml | 9 +++++---- package-lock.json | 2 +- package.json | 10 +++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index d8b9a1dd2..c359c5a05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,14 @@ node_js: - '9' - '8' - '7' - - '6' before_script: - - npm prune script: - - npm run prepublishOnly + - npm run test after_success: - +install: + - rm -rf node_modules/typedoc-plugin-markdown + - npm prune + - npm install branches: except: - /^v\d+\.\d+\.\d+$/ \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8ea2a7869..ad51c6ed1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "typedoc-plugin-markdown", - "version": "1.1.13", + "version": "1.1.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2e20ddc5e..7a6899365 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ ], "scripts": { "copy:static": "copyfiles --up 1 ./src/**/*.hbs ./dist/", - "copy:plugin": "copyfiles package.json './dist/**/*' node_modules/typedoc-plugin-markdown/", "mocks": "npm run mocks:github && npm run mocks:bitbucket && npm run mocks:gitbook", "mocks:github": "typedoc ./test/src --out ./test/out/github --theme markdown --gitRevision master --media test/src/media/ --includes test/src/inc/", "mocks:bitbucket": "typedoc ./test/src --out ./test/out/bitbucket --theme markdown --gitRevision master --media test/src/media/ --includes test/src/inc/ --excludePrivate --readme none --mode file --mdFlavour bitbucket --mdSourceRepo 'https://bitbucket.org/owner/repository_name'", @@ -16,9 +15,10 @@ "examples": "rm -rf examples/out && typedoc ./examples/src --out ./examples/out --theme markdown --gitRevision master --readme none --media test/src/media/ --includes test/src/inc/", "lint": "tslint --project ./src/tsconfig.json", "prepare": "rm -rf dist && tsc -p ./src/tsconfig.json && npm run copy:static", - "prepublishOnly": "npm run prepare && npm run lint && npm run test", - "pretest": "rm -rf tests/out && rm -rf node_modules/typedoc-plugin-markdown && npm run copy:plugin && npm run mocks", - "test": "mocha test/test.js" + "prepublishOnly": "npm install && npm run lint && npm run test", + "pretest": "npm run link && rm -rf tests/out && npm run mocks", + "test": "mocha test/test.js", + "link": "npm link && npm link typedoc-plugin-markdown" }, "author": "Thomas Grey", "license": "MIT", @@ -60,4 +60,4 @@ "typescript" ] } -} \ No newline at end of file +}