diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4f1ea2ae..e079bd48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ project: 1. Create a new topic branch to contain your feature, change, or fix: -> If you'd like to test and/or propose some changes to the latest library version please change the `./scripts/generate` file at its end so that everything will be generated properly once launched. +> If you'd like to test and/or propose some changes to the latest library version please change the `./scripts/build.js` file at its end so that everything will be generated properly once launched. 1. Commit your changes in logical chunks. Provide clear and explanatory commit messages. Use git's [interactive rebase](https://help.github.com/en/articles/about-git-rebase) diff --git a/package.json b/package.json index 7f6b35db..b51b9e5e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "module": "./dist/twemoji.esm.js", "unpkg": "./dist/twemoji.min.js", "scripts": { - "build": "./scripts/generate", + "build": "./scripts/build.js", "deploy": "./scripts/deploy.sh gh-pages", "test": "phantomjs ./src/test/testrunner.js", "prepublishOnly": "run-s build test deploy" diff --git a/scripts/generate b/scripts/build.js similarity index 99% rename from scripts/generate rename to scripts/build.js index ec594b76..6b9d53ef 100755 --- a/scripts/generate +++ b/scripts/build.js @@ -28,7 +28,7 @@ function createTwemoji() { */ // WARNING: this file is generated automatically via - // `node scripts/generate` + // `node scripts/build.js` // please update its `createTwemoji` function // at the bottom of the same file instead.