From e0755951a1dae05c4e9bf0b4926ff4cc120e2973 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Wed, 13 Apr 2016 17:18:40 -0400 Subject: [PATCH] Dig >> aegir --- js-project-guidelines.md | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/js-project-guidelines.md b/js-project-guidelines.md index 53bedfd1..f4fc7168 100644 --- a/js-project-guidelines.md +++ b/js-project-guidelines.md @@ -24,9 +24,9 @@ Remember: - [Test](#test) - [Build](#build) - [Release](#release) -- [Dignified.js](#dignifiedjs) +- [AEgir.js](#aegirjs) - [...for maintainers](#for-maintainers) - - [Setting up `dignified.js`](#setting-up-dignifiedjs) + - [Setting up `aegir.js`](#setting-up-aegirjs) - [Directory Structure](#directory-structure) - [Default `require`](#default-require) - [Continuous integration](#continuous-integration) @@ -97,25 +97,25 @@ Each time a new release happens, these are the steps we follow to make sure noth 7. Push to GitHub 8. Publish to npm -## Dignified.js +## aegir.js We've created a module to help us achieve all of the above with minimal effort. Feel free to also use it for your projects. Feedback is appreciated! #### ...for maintainers -##### Setting up `dignified.js` +##### Setting up `aegir.js` -There are a couple of binaries that `dignified.js` provides for you to use +There are a couple of binaries that `aegir.js` provides for you to use ```sh -$ dignified-lint -$ dignified-test -$ dignified-test browser -$ dignified-test node -$ dignified-build -$ dignified-release major -$ dignified-release minor -$ dignified-release +$ aegir-lint +$ aegir-test +$ aegir-test browser +$ aegir-test node +$ aegir-build +$ aegir-release major +$ aegir-release minor +$ aegir-release ``` If you prefer using npm scripts, you can set them up in your package.json: @@ -123,12 +123,12 @@ If you prefer using npm scripts, you can set them up in your package.json: ```json { "scripts": { - "lint": "dignified-lint", - "build": "dignified-build", - "test": "dignified-test", - "test:node": "dignified-test node", - "test:browser": "dignified-test browser", - "release": "dignified-release" + "lint": "aegir-lint", + "build": "aegir-build", + "test": "aegir-test", + "test:node": "aegir-test node", + "test:browser": "aegir-test browser", + "release": "aegir-release" } } ``` @@ -136,12 +136,12 @@ If you prefer using npm scripts, you can set them up in your package.json: You also need to add it your `devDependencies` by running: ```sh -$ npm install --save-dev dignified.js +$ npm install --save-dev aegir.js ``` ##### Directory Structure -To reduce the amount of configuration dignified.js expects your source code to be in the src and your test files in the test directory. +To reduce the amount of configuration aegir.js expects your source code to be in the src and your test files in the test directory. ```sh ├── dist # auto-generated by the transpile and minification task. @@ -241,7 +241,7 @@ There are two possibilities: either it didn’t work out for us, or we don’t k #### Why not use simple npm scripts instead of gulp? -Gulp is not a hard dependency. It’s just a simple way to structure our tasks at the moment. Usually projects only depend on the dignified binaries completely hiding the fact that we are using gulp under the hood. So we are free if we want to switch it out without any issues. We all enjoy npm scripts, and are using them to call the dignified binaries, but there is no nice way of sharing them yet. +Gulp is not a hard dependency. It’s just a simple way to structure our tasks at the moment. Usually projects only depend on the aegir binaries completely hiding the fact that we are using gulp under the hood. So we are free if we want to switch it out without any issues. We all enjoy npm scripts, and are using them to call the aegir binaries, but there is no nice way of sharing them yet. #### Where are all the semicolons? @@ -251,7 +251,7 @@ Our linting rules are compatible with [standard](https://github.com/feross/stand We want to see the web move forward, and some of us enjoy writing their JavaScript with things like `const` and arrow functions. -#### Do I have to use ES2015 and Babel and Dignified.js in my project? +#### Do I have to use ES2015 and Babel and aegir.js in my project? No.