From 387f3c286c90b49eefef451bb49233b0790b2733 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Fri, 27 Dec 2019 22:37:19 -0500 Subject: [PATCH] (docs/fix): fix ToC changes / bugs introduced in #307 (#397) - __DEV__ link stopped working - Contributors link didn't work - backtick formatting was removed - this was all re-generated by using `npx doctoc README.md` - doctoc is specified to be used in the ToC comments --- README.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e187ef5f3..7d3180165 100644 --- a/README.md +++ b/README.md @@ -7,20 +7,21 @@ Despite all the recent hype, setting up a new TypeScript (x React) library can b + - [Features](#features) - [Quick Start](#quick-start) - - [npm start or yarn start](#npm-start-or-yarn-start) - - [npm run build or yarn build](#npm-run-build-or-yarn-build) - - [npm test or yarn test](#npm-test-or-yarn-test) - - [npm run lint or yarn lint](#npm-run-lint-or-yarn-lint) - - [prepare script](#prepare-script) + - [`npm start` or `yarn start`](#npm-start-or-yarn-start) + - [`npm run build` or `yarn build`](#npm-run-build-or-yarn-build) + - [`npm test` or `yarn test`](#npm-test-or-yarn-test) + - [`npm run lint` or `yarn lint`](#npm-run-lint-or-yarn-lint) + - [`prepare` script](#prepare-script) - [Optimizations](#optimizations) - [Development-only Expressions + Treeshaking](#development-only-expressions--treeshaking) - [Rollup Treeshaking](#rollup-treeshaking) - - [Advanced babel-plugin-dev-expressions](#advanced-babel-plugin-dev-expressions) - - [__DEV__](#dev) - - [invariant](#invariant) - - [warning](#warning) + - [Advanced `babel-plugin-dev-expressions`](#advanced-babel-plugin-dev-expressions) + - [`__DEV__`](#__dev__) + - [`invariant`](#invariant) + - [`warning`](#warning) - [Using lodash](#using-lodash) - [Error extraction](#error-extraction) - [Customization](#customization) @@ -30,13 +31,13 @@ Despite all the recent hype, setting up a new TypeScript (x React) library can b - [Inspiration](#inspiration) - [Comparison to Microbundle](#comparison-to-microbundle) - [API Reference](#api-reference) - - [tsdx watch](#tsdx-watch) - - [tsdx build](#tsdx-build) - - [tsdx test](#tsdx-test) - - [tsdx lint](#tsdx-lint) + - [`tsdx watch`](#tsdx-watch) + - [`tsdx build`](#tsdx-build) + - [`tsdx test`](#tsdx-test) + - [`tsdx lint`](#tsdx-lint) - [Author](#author) - [License](#license) -- [Contributors ✨](#contributors-%e2%9c%a8) +- [Contributors ✨](#contributors-)