From c0aeb0d3b7ca89608ab03aa35cac4cb55bd1f178 Mon Sep 17 00:00:00 2001 From: Martijn Versluis Date: Sun, 3 Jan 2021 11:25:37 +0100 Subject: [PATCH] Ignore more files from NPM package (#230) Exclude: - README.hbs - .eslintignore - .github/ --- .npmignore | 5 ++++- README.hbs => doc/README.hbs | 0 package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) rename README.hbs => doc/README.hbs (100%) diff --git a/.npmignore b/.npmignore index f78d28a6..d3e87f45 100644 --- a/.npmignore +++ b/.npmignore @@ -1,8 +1,11 @@ +doc node_modules src test .babelrc .codeclimate.yml +.eslintignore .eslintrc -.travis.yml +.github .idea +.travis.yml diff --git a/README.hbs b/doc/README.hbs similarity index 100% rename from README.hbs rename to doc/README.hbs diff --git a/package.json b/package.json index a1ae2f1c..7bbfe0bd 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "build:sources": "babel src --out-dir lib", "build:pegjs": "pegjs -o src/parser/chord_pro_peg_parser.js src/parser/chord_pro_grammar.pegjs", "build": "yarn build:templates && yarn build:pegjs && yarn build:sources", - "readme": "jsdoc2md -f src/**/*.js --template README.hbs > README.md", + "readme": "jsdoc2md -f src/**/*.js --template doc/README.hbs > README.md", "prepublishOnly": "yarn install && yarn test && yarn build", "pretest": "yarn build:templates && yarn build:pegjs" },