generator-reshow 0.16.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/generators/app/__tests__/TestApp.js +1 -2
  2. package/generators/app/index.js +1 -2
  3. package/generators/app/templates/package.json +1 -2
  4. package/generators/compile-sh/__tests__/Test.js +1 -2
  5. package/generators/compile-sh/index.js +4 -4
  6. package/generators/compile-sh/templates/compile.sh +48 -38
  7. package/generators/docker/__tests__/Test.js +1 -2
  8. package/generators/docker/index.js +17 -2
  9. package/generators/docker/templates/README.md +3 -0
  10. package/generators/docker/templates/_circleci/config.yml +1 -2
  11. package/generators/docker/templates/compile.sh +8 -4
  12. package/generators/generator/__tests__/TestGenerator.js +1 -2
  13. package/generators/generator/index.js +1 -2
  14. package/generators/generator/templates/Test.js +1 -2
  15. package/generators/generator/templates/index.js +4 -8
  16. package/generators/library/__tests__/Test.js +1 -2
  17. package/generators/library/index.js +2 -3
  18. package/generators/library/templates/Test.js +10 -0
  19. package/generators/library/templates/compile.sh +3 -0
  20. package/generators/library/templates/src/index.js +3 -0
  21. package/generators/npm/__tests__/Test.js +1 -2
  22. package/generators/npm/index.js +2 -3
  23. package/generators/npm/templates/Test.js +10 -0
  24. package/generators/npm/templates/src/index.js +5 -0
  25. package/generators/npm/templates/src/init.js +8 -0
  26. package/generators/update-esm-export/README.md +9 -0
  27. package/generators/update-esm-export/__tests__/Test.js +44 -0
  28. package/generators/update-esm-export/index.js +88 -0
  29. package/package.json +3 -3
  30. package/generators/app/templates/.gitignore +0 -8
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("generator-reshow:app", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * App Generator
@@ -9,8 +9,7 @@
9
9
  "keywords": ["app", "reshow-app"],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "dependencies": {},
13
- "devDependencies": {
12
+ "dependencies": {
14
13
  "get-object-value": "*",
15
14
  "organism-react-ajax": "*",
16
15
  "organism-react-navigation": "*",
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! compile-sh !!", () => {
13
12
  let runResult;
@@ -1,12 +1,12 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * compile-sh Generator
6
5
  */
7
6
  module.exports = class extends YoGenerator {
8
7
  writing() {
9
- const { cp } = YoHelper(this);
10
- cp("compile.sh", null, { webpackEnabled: this.options.webpackEnabled });
8
+ const { cp, getDotYo } = YoHelper(this);
9
+ const { webpackEnabled } = { ...this.options, ...getDotYo(this.options) };
10
+ cp("compile.sh", null, { webpackEnabled }, true);
11
11
  }
12
12
  };
@@ -1,13 +1,19 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
+
3
+ DIR=$( cd "$(dirname "$0")" ; pwd -P )
4
+ cd $DIR
5
+ SWJS=${DIR}/service-worker.js
2
6
 
3
7
  conf='{'
4
- conf+='"assetsRoot":"./assets/",'
5
- conf+='"externals":{"d3": "d3"},'
8
+ conf+='"assetsRoot":"/assets/",'
9
+ conf+='"externals":{},'
10
+ conf+='"indexTpl":"'${DIR}/index.tpl'",'
11
+ conf+='"indexHtml":"'${DIR}/index.html'",'
12
+ conf+='"swDest":"'${SWJS}'",'
13
+ # conf+='"swDebug":true,'
6
14
  conf+='"hotPort": "'${hotPort:-3088}'"'
7
15
  conf+='}'
8
16
 
9
- DIR=$( cd "$(dirname "$0")" ; pwd -P )
10
- cd $DIR
11
17
  OPEN=$(which xdg-open 2>/dev/null)
12
18
  if [ -z "$OPEN" ]; then
13
19
  OPEN="open"
@@ -25,26 +31,16 @@ checkBabel(){
25
31
  fi
26
32
  }
27
33
 
28
- production(){
29
- echo "Production Mode";
30
- checkBabel
31
- npm run build
32
- CONFIG=$conf NODE_ENV=production $webpack
33
- }
34
-
35
- analyzer(){
36
- echo "Analyzer Mode";
37
- checkBabel
38
- npm run build
39
- CONFIG=$conf BUNDLE='{}' $webpack
34
+ killBy(){
35
+ ps -eo pid,args | grep $1 | grep -v grep | awk '{print $1}' | xargs -I{} kill -9 {}
40
36
  }
41
37
 
42
- develop(){
43
- stop
44
- echo "Develop Mode";
45
- checkBabel
46
- npm run build
47
- CONFIG=$conf $webpack
38
+ stop(){
39
+ killBy ${DIR}/node_modules/.bin/babel
40
+ cat webpack.pid | xargs -I{} kill -9 {}
41
+ npm run clean
42
+ rm $SWJS
43
+ echo "Stop done";
48
44
  }
49
45
 
50
46
  stopServer(){
@@ -69,23 +65,36 @@ startServer(){
69
65
  fi
70
66
  }
71
67
 
72
- killBy(){
73
- ps -eo pid,args | grep $1 | grep -v grep | awk '{print $1}' | xargs -I{} kill -9 {}
68
+ production(){
69
+ stop
70
+ echo "Production Mode";
71
+ checkBabel
72
+ npm run build
73
+ ENABLE_SW=1 CONFIG=$conf NODE_ENV=production $webpack
74
74
  }
75
75
 
76
- stop(){
77
- killBy ${DIR}/node_modules/.bin/babel
78
- cat webpack.pid | xargs -I{} kill -9 {}
79
- npm run clean
80
- echo "Stop done";
76
+ analyzer(){
77
+ stop
78
+ echo "Analyzer Mode";
79
+ checkBabel
80
+ npm run build
81
+ CONFIG=$conf BUNDLE='{}' $webpack
82
+ }
83
+
84
+ develop(){
85
+ stop
86
+ echo "Develop Mode";
87
+ checkBabel
88
+ npm run build
89
+ CONFIG=$conf $webpack
81
90
  }
82
91
 
83
92
  watch(){
84
93
  stop
85
94
  echo "Watch Mode";
86
95
  checkBabel
87
- npm run build:ui -- --watch &
88
- npm run build:src -- --watch &
96
+ npm run build:es:ui -- --watch &
97
+ npm run build:es:src -- --watch &
89
98
  sleep 10
90
99
  CONFIG=$conf $webpack --watch &
91
100
  }
@@ -94,16 +103,17 @@ watchTest(){
94
103
  stop
95
104
  echo "Watch Test";
96
105
  checkBabel
97
- npm run build:test:ui -- --watch &
98
- npm run build:test:src -- --watch &
106
+ npm run build:cjs:ui -- --watch &
107
+ npm run build:cjs:src -- --watch &
99
108
  }
100
109
 
101
110
  hot(){
102
- stop
111
+ stop
112
+ rm $SWJS
103
113
  echo "Hot Mode";
104
114
  checkBabel
105
- npm run build:ui -- --watch &
106
- npm run build:src -- --watch &
115
+ npm run build:es:ui -- --watch &
116
+ npm run build:es:src -- --watch &
107
117
  sleep 5
108
118
  HOT_UPDATE=1 CONFIG=$conf $webpack serve &
109
119
  }
@@ -116,7 +126,7 @@ case "$1" in
116
126
  analyzer
117
127
  ;;
118
128
  s)
119
- startServer $2
129
+ startServer $2
120
130
  ;;
121
131
  ss)
122
132
  stopServer
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! docker !!", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * docker Generator
@@ -37,6 +36,22 @@ module.exports = class extends YoGenerator {
37
36
  const prompts = [
38
37
  ...commonPrompt.mainName(this),
39
38
  ...commonPrompt.desc(this),
39
+ ...commonPrompt.repository(this, {
40
+ defaultRepositoryName: "[REPOSITORY_NAME]",
41
+ defaultRepositoryOrgName: "[REPOSITORY_ORG_NAME]",
42
+ }),
43
+ {
44
+ type: "input",
45
+ name: "dockerImageName",
46
+ message: "Please input your docker-image-name?",
47
+ default: "[DOCKER_IMAGE_NAME]",
48
+ },
49
+ {
50
+ type: "input",
51
+ name: "dockerOrgName",
52
+ message: "Please input your docker-org-name?",
53
+ default: "[DOCKER_ORG_NAME]",
54
+ },
40
55
  {
41
56
  type: "input",
42
57
  name: "folderPrefix",
@@ -1,3 +1,6 @@
1
+ [![CircleCI](https://circleci.com/gh/<%= repositoryOrgName %>/<%= repositoryName %>/tree/main.svg?style=svg)](https://circleci.com/gh/<%= repositoryOrgName %>/<%= repositoryName %>/tree/main)
2
+ [![Docker Pulls](https://img.shields.io/docker/pulls/<%= dockerOrgName %>/<%= dockerImageName %>.svg)](https://hub.docker.com/r/<%= dockerOrgName %>/<%= dockerImageName %>)
3
+
1
4
  # `<%= mainName %>`
2
5
 
3
6
  > <%= description %>
@@ -2,8 +2,6 @@ version: 2.1
2
2
 
3
3
  executors:
4
4
  docker-publisher:
5
- environment:
6
- IMAGE_NAME: <%= mainName %>
7
5
  docker:
8
6
  - image: circleci/buildpack-deps:18.04
9
7
 
@@ -33,6 +31,7 @@ jobs:
33
31
  name: build Docker image
34
32
  command: |
35
33
  VERSION=$(support/VERSION.sh)
34
+ IMAGE_NAME=$(support/targetImage.sh)
36
35
  BUILD_VERSION=<< parameters.docker-tag >>
37
36
  BUILD_FOLDER=<< parameters.folder-prefix >><< parameters.docker-tag >>
38
37
  BUILD_ARG=""
@@ -42,16 +42,20 @@ push() {
42
42
  fi
43
43
  fi
44
44
  echo "* <!-- Start to push ${targetImage}:$tag"
45
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin
45
+ IS_LOGIN=$(echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin)
46
+ if ! [[ $IS_LOGIN =~ "Succeeded" ]]; then
47
+ echo "Login Failed."
48
+ exit 1
49
+ fi
46
50
  docker push ${targetImage}:$tag
47
- echo "* Finish to push -->"
51
+ echo "* Finish pushed -->"
48
52
  echo ""
49
53
  if [ ! -z "$1" ]; then
50
54
  if [ "x$VERSION" == "x$PUSH_VERSION" ]; then
51
55
  echo "* <!-- Start to auto push ${targetImage}:${LATEST_TAG}"
52
56
  docker tag ${targetImage}:$tag ${targetImage}:${LATEST_TAG}
53
57
  docker push ${targetImage}:${LATEST_TAG}
54
- echo "* Finish to push -->"
58
+ echo "* Finish pushed -->"
55
59
  fi
56
60
  fi
57
61
  }
@@ -67,7 +71,7 @@ build() {
67
71
  BUILD_ARG="$BUILD_ARG --build-arg VERSION=${VERSION}"
68
72
  fi
69
73
  echo build: ${DIR}/${DOCKER_FILE}
70
- if [ -z "$NO_CACHE" ]; then
74
+ if [ "x" != "x$NO_CACHE" ]; then
71
75
  echo nocache: ${NO_CACHE}
72
76
  fi
73
77
  docker build ${BUILD_ARG} ${NO_CACHE} -f ${DIR}/${DOCKER_FILE} -t $sourceImage ${DIR}
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! generator !!", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * The Generator
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! <%= mainName %> !!", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * <%= mainName %> Generator
@@ -29,9 +28,7 @@ module.exports = class extends YoGenerator {
29
28
  const {
30
29
  say,
31
30
  handleAnswers,
32
- mergePromptOrOption,
33
- promptChainLocator,
34
- promptChain,
31
+ promptChainAll,
35
32
  } = YoHelper(this);
36
33
 
37
34
  const prompts = [
@@ -47,14 +44,13 @@ module.exports = class extends YoGenerator {
47
44
  */
48
45
  ];
49
46
 
50
- const answers = await mergePromptOrOption(prompts, (nextPrompts) =>
51
- promptChain(promptChainLocator(nextPrompts))
52
- );
47
+ const answers = await promptChainAll(prompts);
53
48
  handleAnswers(answers);
54
49
  }
55
50
 
56
51
  writing() {
57
52
  this.env.options.nodePackageManager = "yarn";
53
+ this.options.skipInstall = true;
58
54
  const { cp, chMainName } = YoHelper(this);
59
55
 
60
56
  // handle change to new folder
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! library !!", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * Library Generator
@@ -59,7 +58,7 @@ module.exports = class extends YoGenerator {
59
58
  cp("package.json", null, this.payload);
60
59
  cp("src", null, this.payload);
61
60
  cp("Test.js", "src/__tests__/Test.js", this.payload);
62
- cp("yarn.lock");
61
+ // cp("yarn.lock");
63
62
  }
64
63
 
65
64
  end() {
@@ -0,0 +1,10 @@
1
+ import { expect } from "chai";
2
+
3
+ import YourFunc from "../index";
4
+
5
+ describe("Test <%= mainName %>", () => {
6
+ it("basic testt", () => {
7
+ /*your test code*/
8
+ YourFunc();
9
+ });
10
+ });
@@ -0,0 +1,3 @@
1
+ #!/bin/sh
2
+
3
+ npm run build
@@ -0,0 +1,3 @@
1
+ const YourFunc = (props) => {};
2
+
3
+ export default YourFunc;
@@ -6,8 +6,7 @@
6
6
  * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
7
  */
8
8
 
9
- const getYoUnit = require("yo-unit");
10
- const { YoTest, assert } = getYoUnit();
9
+ const { YoTest, assert } = require("yo-unit");
11
10
 
12
11
  describe("!! npm !!", () => {
13
12
  let runResult;
@@ -1,5 +1,4 @@
1
- const getYo = require("yo-reshow");
2
- const { YoGenerator, YoHelper, commonPrompt } = getYo();
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
3
2
 
4
3
  /**
5
4
  * NPM Generator
@@ -63,7 +62,7 @@ module.exports = class extends YoGenerator {
63
62
  cp("src", null, this.payload);
64
63
  cp("README.md", null, this.payload);
65
64
  cp("Test.js", "src/__tests__/Test.js", this.payload);
66
- cp("yarn.lock");
65
+ // cp("yarn.lock");
67
66
 
68
67
  updateJSON("package.json", null, this.payload, (data) => {
69
68
  data.repository = this.payload.repository;
@@ -0,0 +1,10 @@
1
+ const {expect} = require("chai");
2
+ const {init} = require("../init");
3
+
4
+ describe("Test <%= mainName %>", () => {
5
+ it("basic testt", () => {
6
+ /*your test code*/
7
+ const actual = init();
8
+ expect(actual).to.equal('bar');
9
+ });
10
+ });
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { init } = require("./init");
4
+
5
+ init();
@@ -0,0 +1,8 @@
1
+ const init = (props) => {
2
+ console.log("foo");
3
+ return "bar";
4
+ };
5
+
6
+ module.exports = {
7
+ init,
8
+ };
@@ -0,0 +1,9 @@
1
+ # `update-esm-export`
2
+
3
+ > update exm export
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ npx yonpx update-esm-export
9
+ ```
@@ -0,0 +1,44 @@
1
+ /**
2
+ * https://yeoman.io/authoring/testing.html
3
+ * https://gilsondev.gitbooks.io/yeoman-authoring/content/authoring/unit_testing.html
4
+ *
5
+ * https://github.com/yeoman/yeoman-assert/blob/main/index.js
6
+ * https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
7
+ */
8
+
9
+ const { YoTest, assert } = require("yo-unit");
10
+
11
+ describe("!! update-esm-export !!", () => {
12
+ let runResult;
13
+
14
+ before(async () => {
15
+ runResult = await YoTest({
16
+ source: __dirname + "/../.",
17
+ params: {
18
+ isReady: true,
19
+ appNamee: "foo",
20
+ description: "foo-desc",
21
+ keyword: "foo-keyword",
22
+ },
23
+ });
24
+ });
25
+
26
+ after(() => {
27
+ if (runResult) {
28
+ runResult.restore();
29
+ }
30
+ });
31
+
32
+ it("should have folder", () => {
33
+ // assert.file(["src", "ui"]);
34
+ });
35
+
36
+ it("should have file", () => {
37
+ // assert.file(["compile.sh", "index.html"]);
38
+ });
39
+
40
+ it("should have content", () => {
41
+ // assert.fileContent('composer.json', 'foo-desc');
42
+ // assert.fileContent('.circleci/config.yml', 'foo');
43
+ });
44
+ });
@@ -0,0 +1,88 @@
1
+ const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
2
+
3
+ /**
4
+ * update-esm-export Generator
5
+ */
6
+ module.exports = class extends YoGenerator {
7
+ /**
8
+ * Run loop (Life cycle)
9
+ * https://yeoman.io/authoring/running-context.html#the-run-loop
10
+ *
11
+ * 1. initializing
12
+ * 2. prompting
13
+ * 3. configuring
14
+ * 4. default
15
+ * 5. writing
16
+ * 6. conflicts
17
+ * 7. install
18
+ * 8. end
19
+ */
20
+
21
+ /**
22
+ * Questions.
23
+ *
24
+ * https://www.alwaystwisted.com/post.php?s=using-lists-in-a-yeoman-generator
25
+ * https://github.com/SBoudrias/Inquirer.js
26
+ */
27
+ async prompting() {
28
+ const { say, exit, isFile, getDotYo, glob, updateJSON } = YoHelper(this);
29
+ const pkg = isFile("package.json");
30
+
31
+ const opts = getDotYo();
32
+ if (!opts.exports) {
33
+ return;
34
+ }
35
+ const { srcArr, appendArr, prependArr, moreKeyArr, moreValArr, pkgjson } =
36
+ opts.exports;
37
+ const nextExports = {};
38
+ srcArr.forEach((v, index) => {
39
+ const prepend = prependArr[index];
40
+ const append = appendArr[index];
41
+ glob(
42
+ v,
43
+ ({ filename }) => {
44
+ nextExports[
45
+ `${prepend}${filename}`
46
+ ] = `${prepend}${filename}${append}`;
47
+ },
48
+ true
49
+ );
50
+ });
51
+ moreKeyArr?.forEach((v, index) => {
52
+ nextExports[v] = moreValArr[index];
53
+ });
54
+
55
+ const pkgFile = isFile(pkgjson);
56
+ if (pkgFile) {
57
+ updateJSON(null, pkgFile, null, ({ exports = {}, ...json }) => {
58
+ if (this.options.n) {
59
+ const diff = {};
60
+ KEYS(exports).forEach((key) => {
61
+ if (exports[key] !== nextExports[key]) {
62
+ diff[key] = {
63
+ prev: exports[key],
64
+ next: nextExports[key],
65
+ };
66
+ }
67
+ if (exports[key] && nextExports[key]) {
68
+ delete exports[key];
69
+ delete nextExports[key];
70
+ }
71
+ });
72
+ const allDiff = {
73
+ new: nextExports,
74
+ willClean: exports,
75
+ modify: diff,
76
+ };
77
+ this.log({ allDiff });
78
+ return null;
79
+ } else {
80
+ json.exports = nextExports;
81
+ return json;
82
+ }
83
+ });
84
+ }
85
+ }
86
+
87
+ writing() {}
88
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-reshow",
3
- "version": "0.16.2",
3
+ "version": "0.17.0",
4
4
  "description": "Yeoman generator for reshow. (app, generator, ...etc)",
5
5
  "author": "Hill <hill@kimo.com>",
6
6
  "repository": {
@@ -14,10 +14,10 @@
14
14
  "license": "ISC",
15
15
  "main": "",
16
16
  "dependencies": {
17
- "yo-reshow": "^0.16.0"
17
+ "yo-reshow": "*"
18
18
  },
19
19
  "devDependencies": {
20
- "yo-unit": "^0.16.0"
20
+ "yo-unit": "*"
21
21
  },
22
22
  "files": [
23
23
  "generators"
@@ -1,8 +0,0 @@
1
- node_modules
2
- npm-debug.log
3
- coverage*
4
- .tern-port
5
- v8.log
6
- build
7
- .*.sw?
8
- webpack.pid